开发者

How to make macdeployqt use another qt-installaton?

开发者 https://www.devze.com 2023-03-07 00:55 出处:网络
The macdeployqt which comes with Qt SDK 1.1 is broken (it\'s already files on the Qt bugtracker). How do I make macdeployqt use the libraries of another Qt-version I installed instead of Qt SDK 1.1?

The macdeployqt which comes with Qt SDK 1.1 is broken (it's already files on the Qt bugtracker).

How do I make macdeployqt use the libraries of another Qt-version I installed instead of Qt SDK 1.1?

I couldn't find a bash-enviro开发者_JAVA技巧nment variable for it.


macdeployqt should deploy Qt libraries which are linked to your binary. Use otool to check what libraries are linked.

To get more control over the deployment of libraries, I ended up rewriting macddeployqt to always deploy/link to my preferred library location.

0

精彩评论

暂无评论...
验证码 换一张
取 消