Results 1 to 5 of 5

Thread: QPaintDevice: Must construct a QApplication before a QPaintDevice

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Sep 2011
    Posts
    1,241
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    3
    Thanked 127 Times in 126 Posts

    Default Re: QPaintDevice: Must construct a QApplication before a QPaintDevice

    Different versions are not binary compatible, so you cannot use 3.x libraries with 4.x code.

    Point releases are binary compatible, so you can use 4.x libraries with 4.x code.

    You need to rebuild.

    http://developer.qt.nokia.com/faq/an...ary_compatible
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  2. The following user says thank you to amleto for this useful post:

    vaibhav (27th December 2011)

Similar Threads

  1. Replies: 16
    Last Post: 12th December 2014, 20:22
  2. Replies: 2
    Last Post: 25th July 2011, 08:08
  3. Replies: 0
    Last Post: 20th April 2009, 17:45
  4. Must construct QApplication before QPaintDevice
    By sekatsim in forum Qt Programming
    Replies: 16
    Last Post: 8th June 2008, 00:00
  5. Replies: 15
    Last Post: 21st April 2007, 17:46

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
  •  
Qt is a trademark of The Qt Company.