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



  • 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



  • @Slei
    qwindows needs to be in a sub folder platforms

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



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



  • 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?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.