Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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



  • 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,


  • Moderators

    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.


Log in to reply