[SOLVED] Qt - This application failed to start because it could not find or load the qt platform plugin windows
-
When I want to run my qt application, I encounter this error by Microsoft Visual C++ Debug Library:
bq. This application failed to start because it could not find or load the qt platform plugin windows
By following some existing post like for example "this":http://stackoverflow.com/questions/20495620/qt-5-1-1-application-failed-to-start-because-platform-plugin-windows-is-missi I found out that it was missing libEGL.dll, and I added it but I have still the same error.
I am using Qt 5.2.1 and MSVC2010 32bit. What other information do you need? Do you have any idea of how to solve this problem? Thank you in advance!
-
Please follow "the deployment guide.":http://qt-project.org/doc/qt-5/windows-deployment.html
-
For shared libs. "Link":http://qt-project.org/doc/qt-5/windows-deployment.html#shared-libraries.
For simple running of your app during day-to-day development, you can simply use Qt Creator: it will run your app without doing any deployment.
-
Googled the Ogre, it's a 3d graphics plugin for Qt4 but now you are on Qt5 :-(
Here's some google'd info "on how to upgrade to Qt5":http://advancingusability.wordpress.com/2013/03/30/how-to-integrate-ogre3d-into-a-qt5-qml-scene/ -
hskoglund that is some impressive troubleshooting you have done there! Congratulations! :-)
-
sierdzio Thanks, Qt is good stuff. I remember when I started with Qt last year, posted my first question here (-IGL in Ubuntu 12.10) and you answered and helped me.
valeSimu hmmm, if he had the same environment, did he have the same platform plugin error? Or perhaps the environment got upgraded?
-
[quote author="valeSimu" date="1398410124"]we have exactely the same environmnet
Qt Creator 3.0.1
Qt 5.2.1
MSVC 2010 32 bit[/quote]Hi,I think you are only looking at the version of Qt that is used to build the Qt Creator IDE. This is not the version of Qt used to build your projects.
You want to look in Tools -> Options... -> Build & Run -> Kits
-
I solved the problem by folowing this link:
http://falsinsoft.blogspot.ch/2013/09/qt-5-and-failed-to-load-platform-plugin.html
Thank you to everyone!