Results 1 to 2 of 2

Thread: Error on debug : Qwt 6.0.1

  1. #1
    Join Date
    Nov 2010
    Posts
    20
    Thanks
    1
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Error on debug : Qwt 6.0.1

    Hi everybody,

    when trying to compile my application with qwt, in debug mode, I get this error message on runtime :

    QWidget: Must construct a QApplication before a QPaintDevice
    The bug doesn't come from my application since even when doing :

    QApplication app(argc, argv);
    QDialog dialog;
    dialog.show();
    return app.exec();
    I'm still getting this error message.

    However, it works great on release mode.

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,311
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Error on debug : Qwt 6.0.1

    That's because you are using a Qt library, that was built in release mode.

    Uwe

Similar Threads

  1. Replies: 3
    Last Post: 23rd January 2011, 12:15
  2. Error with Debug Binaries
    By ashishrai in forum Qt Programming
    Replies: 1
    Last Post: 26th June 2008, 00:51
  3. Qt4.3.3 Build Debug Libraries ERROR
    By timmyg in forum Installation and Deployment
    Replies: 4
    Last Post: 11th February 2008, 21:36
  4. debug error eclipse+qt mingw
    By sakthi in forum Qt Programming
    Replies: 0
    Last Post: 19th January 2008, 04:44
  5. Error compiling Qt 4.0 in Debug mode
    By Doug Broadwell in forum Installation and Deployment
    Replies: 1
    Last Post: 11th October 2006, 08:15

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.