Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Application failed to start because it could not find or load the Qt platform plugin "windows" in ""
Forum Updated to NodeBB v4.3 + New Features

Application failed to start because it could not find or load the Qt platform plugin "windows" in ""

Scheduled Pinned Locked Moved Solved Installation and Deployment
5 Posts 3 Posters 7.9k 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.
  • S Offline
    S Offline
    Slei
    wrote on last edited by
    #1

    Hey,

    I've created a Qt 5.9.2 32bit msvc2015 release build, and the exe and everything in a seperate folder runs fine when starting it.
    But somehow when I try to start it from another PC i get following error: "This application failed to start because it could not find or load the Qt platform plugin "windows" in "". Reinstalling the application may fix this problem."

    So far i tried to put in the
    QT5Core.dll
    QT5Gui.dll
    QT5Widgets.dll
    libEGL.dll
    qwindows.dll from System32
    msvcp120.dll, msvcp140.dll, msvcr120.dll

    and all dlls from 5.9.2\msvc2015\bin
    But I still get the error.

    Does anyone know what the issue might be?

    thanks

    J.HilkJ 1 Reply Last reply
    0
    • S Slei

      Hey,

      I've created a Qt 5.9.2 32bit msvc2015 release build, and the exe and everything in a seperate folder runs fine when starting it.
      But somehow when I try to start it from another PC i get following error: "This application failed to start because it could not find or load the Qt platform plugin "windows" in "". Reinstalling the application may fix this problem."

      So far i tried to put in the
      QT5Core.dll
      QT5Gui.dll
      QT5Widgets.dll
      libEGL.dll
      qwindows.dll from System32
      msvcp120.dll, msvcp140.dll, msvcr120.dll

      and all dlls from 5.9.2\msvc2015\bin
      But I still get the error.

      Does anyone know what the issue might be?

      thanks

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      @Slei
      qwindows needs to be in a sub folder platforms

      fyi: You should take a look at the windeployqt-tool here


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      3
      • S Offline
        S Offline
        Slei
        wrote on last edited by
        #3

        thanks for the answer, it seems like this fixed the issue :)

        1 Reply Last reply
        0
        • W Offline
          W Offline
          Wayne Hamberg
          wrote on last edited by
          #4

          I have included every library I can imagine from the QT repository and I still get the "This application failed to start because it could not find or load the Qt platform plugin "windows" in "". The Windows dll is in the platform folder and for good measure I have included all the other dlls in that folder as well. I've included about everything imaginable and still get that error. Does anybody have a clue?

          S 1 Reply Last reply
          0
          • W Wayne Hamberg

            I have included every library I can imagine from the QT repository and I still get the "This application failed to start because it could not find or load the Qt platform plugin "windows" in "". The Windows dll is in the platform folder and for good measure I have included all the other dlls in that folder as well. I've included about everything imaginable and still get that error. Does anybody have a clue?

            S Offline
            S Offline
            Slei
            wrote on last edited by
            #5

            @Wayne-Hamberg

            Haven't seen this comment :o
            Did you manage to get it working at the end?

            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