Results 1 to 2 of 2

Thread: Application crashing at exit(0).

  1. #1
    Join Date
    May 2015
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded Qt Jambi PyQt3 PyQt4
    MacOS X Unix/X11 Windows Symbian S60 Android Maemo/MeeGo

    Default Application crashing at exit(0).

    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 .

  2. #2
    Join Date
    Jan 2006
    Warsaw, Poland
    Thanked 5,013 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits

    Default Re: Application crashing at exit(0).

    Show the code in question, please.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.

Similar Threads

  1. Replies: 4
    Last Post: 19th November 2012, 15:35
  2. QML Application crashing on exit
    By fgungor in forum Qt Quick
    Replies: 0
    Last Post: 12th March 2011, 11:19
  3. Replies: 2
    Last Post: 21st November 2010, 19:03
  4. Application crashing
    By addu in forum Qt Programming
    Replies: 9
    Last Post: 22nd May 2009, 11:37
  5. Application is Crashing
    By shyam prasad in forum Qt Programming
    Replies: 1
    Last Post: 9th January 2007, 18:04


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.