Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Cannot mix incompatible Qt library (version 0x40701) with this library (version 0x40703)

  1. #1

    Angry Cannot mix incompatible Qt library (version 0x40701) with this library (version 0x40703)

    I have the following problem:

    I developed a small app with QtCreator and compiled it.
    And when i run the application i got this error:
    Code:
    Cannot mix incompatible Qt library (version 0x40701) with this library (version 0x40703)
    Aborted
    ???????????????????? ????????????????????????????
    WTF!? What is this??
    How to fix it???

    I never had this problem before.

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,763
    Blog Entries
    14

    Default Re: Cannot mix incompatible Qt library (version 0x40701) with this library (version 0x40703)

    Check that your qt4 and qt4*devel packages all have the same version, that's what it's complaining about, version incompatibility
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3

    Default Re: Cannot mix incompatible Qt library (version 0x40701) with this library (version 0x40703)

    same version
    and still not work

  4. #4
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Cannot mix incompatible Qt library (version 0x40701) with this library (version 0x40703)

    SoftHacker wrote:
    > same version
    > and still not work
    >

    Can you double check with
    Code:
    rpm -qa | grep libqt
    that all libqt packages are really the same version?
    What version does your creator have?
    Code:
    rpm -q qt-creator
    Did you ever compile qt core libraries which can conflict or shadow the libs
    from the rpm's (check /usr/local if there is something in lib or lib64 which
    may conflict)?

    --
    PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.3 | GeForce
    9600 GT | 4GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.3 | nVidia
    ION | 3GB Ram

  5. #5

    Default Re: Cannot mix incompatible Qt library (version 0x40701) with this library (version 0x40703)

    the folder /usr/local is empty
    and all the installed libqt.*-packages are needed by other programs
    so i can't uninstall it

    the QtSDK is installed to my home folder

  6. #6

    Default Re: Cannot mix incompatible Qt library (version 0x40701) with this library (version 0x40703)

    Hello, SoftHacker, have you figured a workaround yet?

    I have the same problem with my Qt programs, they compile but won't run, with the same error message.

  7. #7

    Default Re: Cannot mix incompatible Qt library (version 0x40701) with this library (version 0x40703)

    no couldn't figure it out
    the problem is still here

    i don't know anything about this...

  8. #8

    Default Re: Cannot mix incompatible Qt library (version 0x40701) with this library (version 0x40703)

    For me (looking on ldd <mysoftwarename>) it seems like it tries to use couple of libraries from QTSDK (qt 4.7.3) and others - from /usr/lib64/. Right now I'm looking into how to make it use /usr/lib* before QTSDK libs.

    Before that, I tried all kinds of stuff, almost broke the whole system

  9. #9
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Cannot mix incompatible Qt library (version 0x40701) with this library (version 0x40703)

    Graker wrote:

    > QTSDK

    You both speak always about the qt sdk without mentioning at all where you
    have it from and how you installed it. It sounds as if you downloaded and
    installed it from nokia or elsewhere instead of using qt-creator and the qt
    development tools which come with the distribution (via yast or zypper).
    Of course if you do that you have a near to 100% chance that you have chosen
    a version which is incompatible with the rest of the system.
    Of course I only guess that, I have no idea what you really have on your
    system.

    A warning, if you have somehow different versions of libraries in /usr/lib
    than in /usr/lib64 you definitely screwed up your system. The libraries in
    that folders should only differ in their ELF class (32 vs 64 bit) and NOT in
    their version.

    --
    PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.4 | GeForce
    9600 GT | 4GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.4 | nVidia
    ION | 3GB Ram

  10. #10

    Default Re: Cannot mix incompatible Qt library (version 0x40701) with this library (version 0x40703)

    Quote Originally Posted by martin_helm View Post
    You both speak always about the qt sdk without mentioning at all where you
    have it from and how you installed it. It sounds as if you downloaded and
    installed it from nokia or elsewhere instead of using qt-creator and the qt
    development tools which come with the distribution (via yast or zypper).
    Of course if you do that you have a near to 100% chance that you have chosen
    a version which is incompatible with the rest of the system.
    That's true, I installed QTSDK from qt.nokia.com and it came with qt 4.7.3 which is a source of the problem. I actually did that before, with openSUSE 11.2 and kubuntu 10.10, and it worked quite well. But if there's no proper way to do that now, I guess, there's no harm to fall back to repositories version.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •