Sorry, it took me a bit of time to make the tests:
A simple "Hello world" project runs correctly in Qt Creator?
When using the external lib, the program crashes. I suspect an incompatibility of this old lib with Windows 10.
I need to further investigated this issue...
Are you sure you ran the correct version of windeployqt ? If you use the tool from the mingw folder for an app that was compiled with MSVC you'll end up with the wrong files and libaries inside your deploy directory.
Hi, googling finds many with the same problem, for example here
Just guessing, but perhaps you could try some of the suggestions in there...
Thanks for the link.
It seems this issue doesn't even solved in Stack Overflow :(
Any way, I did some of the suggestions mentioned in it.
Installed all redistributable package of x86 (cuz I built my app using Qt mingw53_32) for 2012 - 2013 - 2015 - 2017 (I tested my app after each vcredist)
Installed all redistributable package of x64 for 2012 - 2013 - 2015 - 2017 (I tested my app after each vcredist)
Nothing changed still see my app crashes without any logical reason!
Now I'm very sad because I can run my app only if I installed Qt on my machine which is impractical solution for deploying my app.
@Rafo If you only provide binaries, why don't you provide needed Qt libraries together with your app? This is what is usually done. This way you make sure your app is always using libs it was linked against.
I found the answer. The problem is that the QtWebKit.framework bundle requires some of these other ones, even though I might not be using them. The only fix would be to acquire the QtWebKit.framework project, remove the QML and Quick dependencies, recompile, swap that framework bundle out of my project after macdeployqt, and then remove the QML and Quick framework bundles.
Long story short, that ain't happening. Not worth my time because it's super difficult.