Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

How to compile Qt app with specify version dependency (Linux)

$
0
0
Hello there, I’m not sure how to describe it correctly, but I have a following problem. I need to compile my Qt application with exactly dependency to specific Qt version. Currently when I compile my app on linux and try ldd Application I’m getting following result ... libQtCore.so.4 => /usr/local/Trolltech/... ... What I would like to achieve is this: libQtCore.so.4.8.2 => /usr/local/Trolltech/... The reason for this requirement is a deployment of my app. I would like to distribute my App together with default Qt libraries in one directory. I already updated rpath to APP/libs directory and everything works fine, until I tried to distribute my app to system with newer version of Qt. In such cases I’m getting a following error: Cannot mix incompatible Qt library ..... Thank you for any suggestions. Ludek

Viewing all articles
Browse latest Browse all 2113

Trending Articles