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

install_name_tool on Mac..is there an equivalent tool for Windows?

$
0
0
The utility prog “install_name_tool” on the Mac allows you to alter the app so it knows where the support libs can be found. Usually somewhere in the app bundle..like Frameworks. Is there a tool for Windows that does the same thing? Trying to make a Windows release. App works fine when all the Qt support DLLs are located in the same directory as the app.exe. What I would like to do is set up a similar directory structure for the Windows deploy similar to the Mac App bundle IE all the support Libs(mac) and DLLs(win) in a Frameworks/DLL subdirectory. I tried the setLibrayPath and addLibraryPath approach, but the Windows .exe dies before the DLL library paths can be set when it is run from a directory other than the development directory. I have a 3rd party installer program that can add the DLL subdirectory to the Windows PATH environment variable but was wondering if there was a more elegant approach.

Viewing all articles
Browse latest Browse all 2113

Trending Articles