Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Cannot mix incompatible Qt library
Forum Updated to NodeBB v4.3 + New Features

Cannot mix incompatible Qt library

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 620 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    caiomarcos
    wrote on 3 Dec 2018, 18:48 last edited by caiomarcos 12 Mar 2018, 18:51
    #1

    I followed this http://doc.qt.io/qt-5/linux-deployment.html in order to deploy my application to another machine. Copied everything I believe was needed after looking through ldd outputs.

    But now, when I run the script described in the link above I get the message
    "
    Cannot mix incompatible Qt library (version 0x50905) with this library (0x50b02)
    Aborted (core dumped)
    "

    I found that there was some older Qt libraries in the system due to other software, such as CuteCom. How to make this work without messing with existing software? Wasn't my application supposed to look only in its directory for Qt libraries?

    Both machines have Ubuntu 18.04 and the development one has Qt is 5.11.2 (just realized the hex numbers above are the two conflicting Qt versions)

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 3 Dec 2018, 19:16 last edited by
      #2

      You can use linuxdeployqt to create really stand-alone packages.

      If your application does not depend on APIs from newer Qt releases, then you can do this:

      • compile your app using Qt 5.9.x
      • deploy that package

      It will work on all systems with Qt 5.9 and newer, Qt keeps is binary compatibility.

      (Z(:^

      1 Reply Last reply
      1
      • C Offline
        C Offline
        caiomarcos
        wrote on 3 Dec 2018, 20:25 last edited by
        #3

        Thanks for the reply, I'll look into linuxdeployqt and come back with any questions.

        1 Reply Last reply
        0

        1/3

        3 Dec 2018, 18:48

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved