Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

Qt 5 linux deployment - using qt.conf for dynamic linking

$
0
0
I have a Qt 5 app that I don’t want to opensource (so I don’t want to do a static build of Qt 5 from source). I’m trying to dynamic link the required dependencies using the ldd command, and a qt.conf file in the same folder as the executable. Is this possible? I really would rather not do a static build of Qt 5 and opensource my app. I would like to offer my app as a tar.gz (with dependencies). Here’s what I have in my qt.conf: [Paths] PrefixPath = data LibrariesPath = libs_32 TranslationsPath = translations And my folder looks like this: Executable qt.conf data/libs_32/ data/translations/ platforms/ libs_32 contains the dependencies listed by the ldd command. Also, do I need translations? The above configuration doesn’t work. It only works with Qt 5 installed, which means it’s looking for some hard-coded paths I’m missing or configuring incorrectly. Am I missing something or doing something wrong? Any input would greatly be appreciated. Thanks in advance.

Viewing all articles
Browse latest Browse all 18427

Trending Articles