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 (version 0x50905) with this library (version 0x50c07)
QtWS25 Last Chance

Cannot mix incompatible Qt library (version 0x50905) with this library (version 0x50c07)

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.4k Views
  • 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.
  • K Offline
    K Offline
    kiwi
    wrote on last edited by
    #1

    I used qt creator and qt5.12.7 to build a program which can run on the system. But when I release this tool and move it to another ubuntu18, it can not run normally. There is a error "Cannot mix incompatible Qt library (version 0x50905) with this library (version 0x50c07)".

    I have already packaged all the dependency library used by this tool and the another system have not yet set the LD_LIBRARY_PATH. How could I debug this error?

    Thanks advance,

    1 Reply Last reply
    0
    • sierdzioS Online
      sierdzioS Online
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Compile your app with Qt 5.9 and distribute that. As a general rule of thumb: compile with the oldest Qt version your users will use. So if you have any users on Ubuntu 18, check which version of Qt is shipped there and use that.

      OR bundle Qt with your app (remember about the license though!), for example using linuxdeployqt to get an AppImage.

      (Z(:^

      1 Reply Last reply
      3

      • Login

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