Results 1 to 1 of 1

Thread: What means the "error n. 3" exit code?

  1. #1
    Join Date
    Nov 2010
    Location
    Caccamo (PA), Italy
    Posts
    13
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: What means the "error n. 3" exit code?

    Hi, folks.

    I have a strange problem. I design, successfully, one custom widget using the Qt approach. It works fine in QtDesigner, and, to develop it well, I write a simple app using the same widget (consisting in one class) declared as ax extension of an existing Qt widget.

    When I finish to develop it, I create the plugin, and i develop a (second) simple app using the new widget. QtCreator create it fine, but when I launch it, I obtain the following message:

    Starting C:\Documents and Settings\glafauci\Documenti\Programmi-QT\ProvaK-build-desktop\debug\ProvaK.exe...
    C:\Documents and Settings\glafauci\Documenti\Programmi-QT\ProvaK-build-desktop\debug\ProvaK.exe exited with code 3
    Now I start the debugger, that exits with the same message and this subsequent balloon:

    "This application is requested the runtime to terminate it at an unusual way. Please, contact the application support team"
    and, in the QtCreator's application output, I read

    QWidget: Must construct a QApplication before a QPaintDevice
    Anyone can help me?


    Added after 41 minutes:


    Well, I've solved it.

    The problem is born mixing the release version of the widget with the debug version of the application.

    That's enough to build correctly the versions to solve the problem.

    Hi to all!!
    Last edited by glafauci; 27th November 2010 at 15:44.

Similar Threads

  1. Replies: 32
    Last Post: 25th August 2012, 23:10
  2. Replies: 4
    Last Post: 11th August 2011, 08:02
  3. "Treat wchar_t as Built-in Type" to "yes" link error
    By sungaoyong in forum Qt Programming
    Replies: 1
    Last Post: 5th June 2008, 11:45
  4. Translation QFileDialog standart buttons ("Open"/"Save"/"Cancel")
    By victor.yacovlev in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2008, 19:05
  5. QFile Problem~ "Unknow error" in "open(QIODevice::ReadWrite)"
    By fengtian.we in forum Qt Programming
    Replies: 3
    Last Post: 23rd May 2007, 15:58

Bookmarks

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.