Results 1 to 5 of 5

Thread: Cannot mix incompatible Qt library

  1. #1
    Join Date
    May 2009
    Posts
    14
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Cannot mix incompatible Qt library

    Hello everyone,

    I use Qt SDK with QT 4.7.3 on Suse Linux 11.4.
    When I create a GUI Project it compiles with no errors but if i try to run
    the application I get the following error:
    Cannot mix incompatible Qt library (version 0x40701) with this library (version 0x40703)
    even if I start it inside the creator.

    What can I do to start the application.

    Regards
    hubipet

  2. #2
    Join Date
    Apr 2011
    Location
    Russia
    Posts
    85
    Thanks
    2
    Thanked 13 Times in 13 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Cannot mix incompatible Qt library

    Delete old version Qt.

  3. #3
    Join Date
    Mar 2010
    Posts
    36
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Cannot mix incompatible Qt library

    You might have both libraries in your path (LD_LIBRARY_PATH). And somehow they get mixed up.
    Remove the older version at least from the path. Or delete it comletely.
    Using Qt 4.7
    Developping on Win 7 and XP
    Using Qt Creator, Eclipse and Visual Studio
    Target Platforms Win, Linux and soon OS X

  4. #4
    Join Date
    Oct 2011
    Location
    Czech Republic
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Cannot mix incompatible Qt library

    Hi, you have wrong configuration in you Project settings.
    Go to Projects and in tab Build Settings > General > Qt version add your qt library.
    Then manually edit other parts. Do not forget remove conflict paths from LD_LIBRARY_PATH, QTXXX etc.
    Last edited by jmarianek; 13th October 2011 at 09:26.

  5. #5
    Join Date
    Mar 2008
    Posts
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Cannot mix incompatible Qt library

    Your error could be also connected to this probem in Qt Creator: http://labs.qt.nokia.com/2011/10/28/rpath-and-runpath/

Similar Threads

  1. Incompatible sender/receiver arguments
    By davidovv in forum Qt Programming
    Replies: 3
    Last Post: 6th May 2011, 10:44
  2. Incompatible MSVCRT.dll
    By ahmdsd_ostora in forum Installation and Deployment
    Replies: 10
    Last Post: 22nd August 2010, 09:02
  3. Loading plugin and "Incompatible Qt library" issue.
    By TorAn in forum Qt Programming
    Replies: 4
    Last Post: 31st May 2010, 13:04
  4. Cannot mix incompatible Qt libraries
    By learning_qt in forum Qt Programming
    Replies: 2
    Last Post: 17th September 2009, 07:59
  5. Qt 4.3 incompatible with .NET framework 2.0 servicepack?
    By jobrandt in forum Installation and Deployment
    Replies: 3
    Last Post: 23rd February 2008, 09:40

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.