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. "This application failed to start because..." in Qt5.7.0
Forum Updated to NodeBB v4.3 + New Features

"This application failed to start because..." in Qt5.7.0

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 1.2k Views 2 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.
  • alsaA Offline
    alsaA Offline
    alsa
    wrote on last edited by
    #1

    After debugging my program using Qt 5.7.0 in Windows (with MinGW 5.3.0 32 bit), I compiled Release version to use it on a different PC. Insert all requested dll's, but on the first PC (where I developped my program) all is ok, while in the new the following error message appears:
    "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".

    I try to copy "qwindows.dll" on the same dir where I place my executable: nothing to do.
    Make a subdir called "platform" with "qwindows.dll" in: nothing to do.
    Copy all platforms (qwindows.dll, qwindowsd.dll, qoffscreen.dll, qoffscreend.dll, qminimal.dll, qminimald.dll) in the same folder where I place executable: nothing to do.
    How to solve it?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      To simplify deployment you can use the windeployqt helper.

      You can also take a look at this wiki entry about Windows deployment.

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

      alsaA 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi,

        To simplify deployment you can use the windeployqt helper.

        You can also take a look at this wiki entry about Windows deployment.

        alsaA Offline
        alsaA Offline
        alsa
        wrote on last edited by
        #3

        @SGaist Done! Solved!!

        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