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] This application failed to start because it could not find or load Qt platform plugin "windows"....
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] This application failed to start because it could not find or load Qt platform plugin "windows"....

Scheduled Pinned Locked Moved General and Desktop
6 Posts 3 Posters 5.2k Views 1 Watching
  • 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.
  • T Offline
    T Offline
    tmason101
    wrote on 25 Sept 2014, 16:22 last edited by
    #1

    Hello,

    So the title says it all; I am getting the below image when I try to deploy software I developed using Qt with Visual Studio 2013.

    Here is the actual error message in image form:

    !http://s9.postimg.org/ktsafsy9r/Error_Deployed_Package.png(Error)!

    And here are the list of libraries I link again in my package:

    @
    glu32.lib;
    opengl32.lib;
    glew32.lib;
    glfw3.lib;
    gdi32.lib;
    user32.lib;
    freetype253MT_D.lib;
    assimpd.lib;
    zlibstaticd.lib;
    FreeImaged.lib;
    libovrd.lib;
    winmm.lib;
    ws2_32.lib;
    C:\Qt\5.3\msvc2013_opengl\lib\qtmaind.lib;
    C:\Qt\5.3\msvc2013_opengl\lib\Qt5Guid.lib;
    C:\Qt\5.3\msvc2013_opengl\lib\Qt5Cored.lib;
    C:\Qt\5.3\msvc2013_opengl\lib\Qt5Widgetsd.lib;
    C:\Qt\5.3\msvc2013_opengl\lib\Qt5Networkd.lib;
    C:\Qt\5.3\msvc2013_opengl\lib\Qt5PlatformSupportd.lib;
    %(AdditionalDependencies)
    @

    And here is a picture of the DLLs that I have in the same folder on the client system:

    !http://s23.postimg.org/6dowz8m6j/Dlls_With_Software.png(Dlls)!

    And I also include this plugins/platform folder with DLLs as well like so:

    !http://s28.postimg.org/xvnw7yowt/platformqwindowdll.png(QWindow)!

    As I read from other forums that you need that folder where it is.

    What else do I need to do to get rid of the error message as shown up top?

    Thanks.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goblincoding
      wrote on 25 Sept 2014, 17:33 last edited by
      #2

      Your structure should be:

      @
      YOURAPP
      platforms\qwindows.dll
      other.dll
      @

      In other words, it shouldn't be:

      @
      YOURAPP
      plugin\platforms\qwindows.dll
      other.dll
      @

      Have a look at "this thread":https://qt-project.org/forums/viewthread/27056/#122606

      http://www.goblincoding.com

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 25 Sept 2014, 19:10 last edited by
        #3

        Hi,

        There's also this fine wiki "entry":http://qt-project.org/wiki/Deploy_an_Application_on_Windows about that matter

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • G Offline
          G Offline
          goblincoding
          wrote on 26 Sept 2014, 06:32 last edited by
          #4

          Thanks for that Wiki link, never seen it before o_O

          http://www.goblincoding.com

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 26 Sept 2014, 07:12 last edited by
            #5

            It's been written while you where away ;)

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • T Offline
              T Offline
              tmason101
              wrote on 3 Oct 2014, 00:36 last edited by
              #6

              Didn't reply for a while, but this works. Thank you.

              I have another question related to this, but I'll ask in a separate thread as the problem is slightly different.

              1 Reply Last reply
              0

              1/6

              25 Sept 2014, 16:22

              • Login

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