[SOLVED] Qt - This application failed to start because it could not find or load the qt platform plugin windows
-
wrote on 24 Apr 2014, 12:53 last edited by
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
-
wrote on 24 Apr 2014, 13:42 last edited by
Thank you! Sorry but I am quite new with qt and coding with windows...Would you mind to tell me which section to follow of the link you gave me, please?
-
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.
-
wrote on 24 Apr 2014, 14:01 last edited by
In fact, I am not deploying for the moment, I am developping... I am using Qt Creator actually which shows me this error....
I am using msvc10, I have to use msvcr100.dll right? Donno if is this the issue...I have msvcr90.dll at the moment
-
wrote on 24 Apr 2014, 14:22 last edited by
Hi, Qt Creator itself is built using MSVC2010 32bit, since your Qt Creator works your msvcr100.dll should be alright.
Try building a new, empty Qt Widgets app, do you still get that platform plugin error when your start it from Qt Creator?
-
wrote on 24 Apr 2014, 14:39 last edited by
new project without ogre, it works, no error!
-
wrote on 24 Apr 2014, 14:45 last edited by
Good news! But what about your old project with the platform plugin error, is that also Qt Widget flavored? Perhaps with an older Qt version?
-
wrote on 24 Apr 2014, 15:12 last edited by
In the old project, Ogre is a widget or plugin I think (I didn't code it!)...the error is still there :-(
-
wrote on 24 Apr 2014, 15:21 last edited by
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! :-)
-
wrote on 24 Apr 2014, 15:33 last edited by
The one who coded the project, used the same environment that I have...
-
wrote on 24 Apr 2014, 15:48 last edited by
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?
-
wrote on 24 Apr 2014, 15:57 last edited by
He doesn t have errors and I don't think the environment got upgraded...or maybe I can verify...do you know how?
-
wrote on 24 Apr 2014, 22:48 last edited by
Hi, does he also have Qt 5.2.1 and MSVC2010 32bit? If so, maybe he also have Qt4 installed...
-
wrote on 25 Apr 2014, 07:15 last edited by
we have exactely the same environmnet
Qt Creator 3.0.1
Qt 5.2.1
MSVC 2010 32 bit -
[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
-
wrote on 25 Apr 2014, 11:50 last edited by
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!
1/18