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

How to move Qt5 installation directory [LINUX]

$
0
0
Our Linux deployment essentially requires moving the Qt5 installation directory. There appear to be two issues: binary files, and library files. BINARY FILES Cobbling together information across the Internet, I’ve added a “qt.conf” file to the install/bin directory, with the new directory location. This fixes the binary files pointing to the wrong installation. “qmake -query” now points to the new location. Good. LIBRARY FILES Running “ldd” on any of the libraries in /lib results in “not found” errors for libraries that reside together in the same directory. Similar problems for libraries in /plugins/platforms. Is there a way to build Qt so it uses relative paths instead of hard coded paths for it’s own libraries??

Viewing all articles
Browse latest Browse all 2113

Trending Articles