I was just about to send a “resolved” email to the list (for other who may have 
the same problem.

Ill file the bugs later today or tomorrow;

1) The issue’s root cause is that the library was named starting with a Q, so 
the tool assumed it was a Qt library not a library using Qt.
2) The ignore library errors switch doesn’t apply to Qt libraries
3) There is no way to add a “lib search dir” that works for this situation.

Scott
From: Interest <[email protected]> On Behalf Of Axel Spoerl via 
Interest
Sent: Wednesday, October 1, 2025 22:45
To: [email protected]
Cc: [email protected]
Subject: Re: [Interest] windeployqt on executable with a shared library in the 
project

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 
<[email protected]<mailto:[email protected]>> 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
[email protected]<mailto:[email protected]>
https://lists.qt-project.org/listinfo/interest

-- 
Development mailing list
[email protected]
https://lists.qt-project.org/listinfo/development

Reply via email to