Unable to run Qt GUI application. Need Help.
I created a very simple notepad using C++ and Qt Creator with the Qt libraries, I am able to run the program from within the QtCreater but as soon as I double click on the .exe it gives an error:
Failed to load platform plugin "windows". Available platforms are:
(Press Retry to debug this application)
It gave some other errors about missing .dll files but I copied those from the QT instalation directory and now it only gives this error.
How do I fix it?
Hi and welcome to devnet,
Have a look at the "deployment documentation":http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html
You'll have all the information needed
I tried that but my program still gives the same error.
Do you have something like this:
folder\plugins\other plugin folders\xx.dll
In the Build folder? No.
I got it to work. I just copied all my Qt bin folder's dll into my app's folder.
Thannks for the help