[solved] Problem dynamic linking QT dlls
-
wrote on 17 Oct 2013, 13:09 last edited by
Hello, I am trying to make a windows application ( desktop ). I am using QT5 with qtcreator with MinGW. I am starting a default QT Gui application, then build a release and using DependancyListing program, the qt QA suggested, I`ve added the DLL-s that are required. However I still get nasty errors.
- The application failed to load because it could not find QT platform plugin "windows"
- After I`ve added Qt/Qt5.1.1/5.1.1/mingw48_32/plugins/platforms/qwindows.dll it gave me some windows error, memory error with abnormal termination and suggest reinstall.
Can you provide tell me where I got wrong with deployment?
-
Hi and welcome to devnet ?
Are you sure you got all dependencies ? Have a look at the "windows deployment guide":https://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html it might contain additional information you are needing.
-
wrote on 17 Oct 2013, 13:33 last edited by
Thank you. I
ve found my mistake. It appears that qwindows.dll should be in it
s default platforms/ dir. :) Thanks, for re-refering to me the tutorial. Lame of me, lame. -
You're welcome !
Windows deployment can be tricky. You might also be interested by the qt.conf file (but if you have it all working as you want it, you can safely ignore it)
-
wrote on 18 Oct 2013, 04:01 last edited by
Yes, I
ll skip diggin
into it as long as it works. I am writing a desktop app and the user wants it to work. BTW, I am using wine with QT Creator+MinGW. Any more civilized ways to compile for windows on linux qtcreator? However I need the wine to test if working but I am having 2 qtcreators now... -
The only other option I see would be to have a virtual machine containing Windows and using the MinGW package to build/test natively.
1/6