[Interest] windeployqt on executable with a shared library in the project
Axel Spoerl
axel.spoerl at qt.io
Thu Oct 2 07:44:38 CEST 2025
Hi Scott,
windeployqt has a —libdir option.
As a last resort (e.g. if libraries are in multiple locations), custom shared libraries can also be added manually to the output directory.
That coud be done in a custom script, in addition to or wrapping windeployqt.
Cheers
Axel
On 2 Oct 2025, at 00:25, Scott Bloom <scott at towel42.com> wrote:
My project has an executable as well as a shared library.
Windeployqt fails to find the shared library, because its looking in the QT directory.
I don’t see any option on windeployqt to give it other paths to search or to exclude a dependency.
Any help would be greatly appreciated
Scott
_______________________________________________
Interest mailing list
Interest at qt-project.org<mailto:Interest at qt-project.org>
https://lists.qt-project.org/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20251002/f7bc6d98/attachment.htm>
More information about the Interest
mailing list