PDA

View Full Version : Application crashing at exit(0).



adore
14th May 2015, 11:57
Hello ,

I am having an application where a login screen which is made in Qt is in the front and QML Screen is already opened at the backend . Now I want to close the whole application when I click on cancel button present in the login screen. But the problem is that it is crashing at the point exit(0) with an error :

QPixmap: Must construct a QApplication before a QPaintDevice
F/libc (13739): Fatal signal 6 (SIGABRT) at 0x000035ab (code=-6), thread 13765 (xample.GUI)

What can I do so that my application exits smoothly . Please help and reply asap .

wysota
14th May 2015, 12:19
Show the code in question, please.