Static linked app requires DLLs
-
Hello everybody,
first of all, sorry for my english.
My prob is, i have Qt 5.2 static linked and added the Qt Version and the Kit. And then i have added the Kit to my project and compiled it. All goes right and my app is much bigger than the non-static version. But when i start my app, there comes the messagebox which says, thats he requires the Qt5Core, Qt5Test, .. dlls.
Whats wrong?
-
Hi,
Do you have any dependencies that uses Qt 5 ? Using any plugins ?
Also, check what Dependency Walker tells you about your application dependencies
-
A static app can very well use dlls.
What happens is that highgui is linked to a dynamic Qt 5 so it needs it in order to work
-
Not necessarily, you can build OpenCV with the same Qt 5 you use for your application and you'll only need the OpenCV dlls