Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] Qt - This application failed to start because it could not find or load the qt platform plugin windows
QtWS25 Last Chance

[SOLVED] Qt - This application failed to start because it could not find or load the qt platform plugin windows

Scheduled Pinned Locked Moved General and Desktop
18 Posts 4 Posters 20.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    valeSimu
    wrote on last edited by
    #1

    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!

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Please follow "the deployment guide.":http://qt-project.org/doc/qt-5/windows-deployment.html

      (Z(:^

      1 Reply Last reply
      0
      • V Offline
        V Offline
        valeSimu
        wrote on last edited by
        #3

        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?

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          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.

          (Z(:^

          1 Reply Last reply
          0
          • V Offline
            V Offline
            valeSimu
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            • hskoglundH Offline
              hskoglundH Offline
              hskoglund
              wrote on last edited by
              #6

              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?

              1 Reply Last reply
              0
              • V Offline
                V Offline
                valeSimu
                wrote on last edited by
                #7

                new project without ogre, it works, no error!

                1 Reply Last reply
                0
                • hskoglundH Offline
                  hskoglundH Offline
                  hskoglund
                  wrote on last edited by
                  #8

                  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?

                  1 Reply Last reply
                  0
                  • V Offline
                    V Offline
                    valeSimu
                    wrote on last edited by
                    #9

                    In the old project, Ogre is a widget or plugin I think (I didn't code it!)...the error is still there :-(

                    1 Reply Last reply
                    0
                    • hskoglundH Offline
                      hskoglundH Offline
                      hskoglund
                      wrote on last edited by
                      #10

                      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/

                      1 Reply Last reply
                      0
                      • sierdzioS Offline
                        sierdzioS Offline
                        sierdzio
                        Moderators
                        wrote on last edited by
                        #11

                        hskoglund that is some impressive troubleshooting you have done there! Congratulations! :-)

                        (Z(:^

                        1 Reply Last reply
                        0
                        • V Offline
                          V Offline
                          valeSimu
                          wrote on last edited by
                          #12

                          The one who coded the project, used the same environment that I have...

                          1 Reply Last reply
                          0
                          • hskoglundH Offline
                            hskoglundH Offline
                            hskoglund
                            wrote on last edited by
                            #13

                            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?

                            1 Reply Last reply
                            0
                            • V Offline
                              V Offline
                              valeSimu
                              wrote on last edited by
                              #14

                              He doesn t have errors and I don't think the environment got upgraded...or maybe I can verify...do you know how?

                              1 Reply Last reply
                              0
                              • hskoglundH Offline
                                hskoglundH Offline
                                hskoglund
                                wrote on last edited by
                                #15

                                Hi, does he also have Qt 5.2.1 and MSVC2010 32bit? If so, maybe he also have Qt4 installed...

                                1 Reply Last reply
                                0
                                • V Offline
                                  V Offline
                                  valeSimu
                                  wrote on last edited by
                                  #16

                                  we have exactely the same environmnet

                                  Qt Creator 3.0.1
                                  Qt 5.2.1
                                  MSVC 2010 32 bit

                                  1 Reply Last reply
                                  0
                                  • JKSHJ Offline
                                    JKSHJ Offline
                                    JKSH
                                    Moderators
                                    wrote on last edited by
                                    #17

                                    [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

                                    Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                                    1 Reply Last reply
                                    0
                                    • V Offline
                                      V Offline
                                      valeSimu
                                      wrote on last edited by
                                      #18

                                      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 Reply Last reply
                                      0

                                      • Login

                                      • Login or register to search.
                                      • First post
                                        Last post
                                      0
                                      • Categories
                                      • Recent
                                      • Tags
                                      • Popular
                                      • Users
                                      • Groups
                                      • Search
                                      • Get Qt Extensions
                                      • Unsolved