Greetings,
I have written a application using qt. I was able to compile without any errors. But now when I compile (this is successfull) and run (this is the problem) the pogram it gives the following error.
QPaintDevice: Must construct a QApplication before a QPaintDevice Segmentation fault
Google replied saying that there shouldnt be a static function. I do not know how to ask uic not to create static functions in my dialog_box.cpp. This is the only place where there are static functions. But there is no static work in Makefile or dialog_box.ui.
Thanks in advance.
Bye.