Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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



  • So I am trying to open this .exe file and I went to a forum on this site but to no avail.

    https://forum.qt.io/topic/90293/could-not-find-or-load-the-qt-platform-plugin-windows-in ( heres the link in case you were wondering ).

    I use a windows 10 laptop and used MiKTeX as the forum suggested and did all the cmd stuff but I dont know where to go from there

    Heres the output.txt if its any help:

    ------------------------------------------------------------------------------
    miktex-console.exe pid: 4164
    Command line: C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\miktex-console.exe  --hide --check-updates
    
    Base                Size      Path
    0x000000003cf00000  0xf3000   C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\miktex-console.exe
    0x000000007a1d0000  0x1f6000  C:\WINDOWS\SYSTEM32\ntdll.dll
    0x00000000785c0000  0xbd000   C:\WINDOWS\System32\KERNEL32.DLL
    0x0000000077a00000  0x2c9000  C:\WINDOWS\System32\KERNELBASE.dll
    0x0000000078cb0000  0x743000  C:\WINDOWS\System32\SHELL32.dll
    0x0000000078280000  0x9d000   C:\WINDOWS\System32\msvcp_win.dll
    0x0000000077de0000  0x100000  C:\WINDOWS\System32\ucrtbase.dll
    0x0000000079400000  0x1a0000  C:\WINDOWS\System32\USER32.dll
    0x0000000078140000  0x22000   C:\WINDOWS\System32\win32u.dll
    0x0000000078a70000  0x2a000   C:\WINDOWS\System32\GDI32.dll
    0x0000000078170000  0x10b000  C:\WINDOWS\System32\gdi32full.dll
    0x0000000053ce0000  0x74000   C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MiKTeX210100-ui-Qt.dll
    0x0000000078b50000  0xac000   C:\WINDOWS\System32\ADVAPI32.dll
    0x00000000788f0000  0x9e000   C:\WINDOWS\System32\msvcrt.dll
    0x0000000079d30000  0x9c000   C:\WINDOWS\System32\sechost.dll
    0x0000000078320000  0x12b000  C:\WINDOWS\System32\RPCRT4.dll
    0x00000000458a0000  0x547000  C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\Qt5Widgets.dll
    0x0000000079c00000  0x12a000  C:\WINDOWS\System32\ole32.dll
    0x0000000079e30000  0x356000  C:\WINDOWS\System32\combase.dll
    0x0000000048170000  0x1db000  C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MiKTeX210100-log4cxx.dll
    0x000000004b150000  0xcb000   C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MiKTeX210100-setup.dll
    0x00000000784f0000  0xcd000   C:\WINDOWS\System32\OLEAUT32.dll
    0x0000000048600000  0xbe000   C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MiKTeX210100-loc.dll
    0x0000000047880000  0x145000  C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MiKTeX210100-packagemanager.dll
    0x00000000786e0000  0x6b000   C:\WINDOWS\System32\WS2_32.dll
    0x0000000044c20000  0x6d6000  C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\Qt5Gui.dll
    0x0000000044650000  0x5c3000  C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\Qt5Core.dll
    0x000000006b6b0000  0x1a000   C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MiKTeX210100-popt.dll
    0x0000000045650000  0x241000  C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MiKTeX210100-core.dll
    0x0000000079dd0000  0x55000   C:\WINDOWS\System32\SHLWAPI.dll
    0x00000000561a0000  0x4e000   C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MiKTeX210100-util.dll
    0x0000000049aa0000  0x91000   C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MSVCP140.dll
    0x000000006b5c0000  0x19000   C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\VCRUNTIME140.dll
    0x000000006bab0000  0xc000    C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\VCRUNTIME140_1.dll
    0x000000004a810000  0x8e000   C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\Qt5WinExtras.dll
    0x00000000727c0000  0xc000    C:\WINDOWS\SYSTEM32\Secur32.dll
    0x00000000754a0000  0x9e000   C:\WINDOWS\SYSTEM32\UxTheme.dll
    0x0000000075850000  0x2f000   C:\WINDOWS\SYSTEM32\dwmapi.dll
    0x000000006b620000  0x9000    C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MSVCP140_1.dll
    0x0000000047e90000  0xb8000   C:\WINDOWS\SYSTEM32\ODBC32.dll
    0x0000000077fe0000  0x156000  C:\WINDOWS\System32\CRYPT32.dll
    0x000000005c1e0000  0x38000   C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MiKTeX210100-aprutil.dll
    0x0000000050930000  0x49000   C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MiKTeX210100-apr.dll
    0x000000005d860000  0x2a000   C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MiKTeX210100-extractor.dll
    0x000000006afa0000  0x13000   C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MiKTeX210100-res.dll
    0x000000005d2c0000  0x24000   C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MiKTeX210100-trace.dll
    0x000000004a5e0000  0x47000   C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MiKTeX210100-fmt.dll
    0x0000000052830000  0x2f000   C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MiKTeX210100-expat.dll
    0x0000000047230000  0x8f000   C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MiKTeX210100-curl.dll
    0x0000000078680000  0x56000   C:\WINDOWS\System32\WLDAP32.dll
    0x000000006b4b0000  0xf000    C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MiKTeX210100-md5.dll
    0x0000000074190000  0x264000  C:\WINDOWS\SYSTEM32\d3d11.dll
    0x0000000076350000  0xf3000   C:\WINDOWS\SYSTEM32\dxgi.dll
    0x0000000072c80000  0x1d000   C:\WINDOWS\SYSTEM32\MPR.dll
    0x000000006dc50000  0xa000    C:\WINDOWS\SYSTEM32\VERSION.dll
    0x00000000676a0000  0x18000   C:\WINDOWS\SYSTEM32\NETAPI32.dll
    0x000000006dc20000  0x27000   C:\WINDOWS\SYSTEM32\WINMM.dll
    0x0000000069c40000  0x1c000   C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MiKTeX210100-utf8wrap.dll
    0x0000000068a60000  0x1f000   C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MiKTeX210100-bzip2.dll
    0x000000004a2b0000  0x3a000   C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MiKTeX210100-lzma2.dll
    0x000000004d620000  0x24000   C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MiKTeX210100-uriparser.dll
    0x000000004a260000  0x24000   C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MiKTeX210100-zlib.dll
    0x000000006b210000  0x7000    C:\WINDOWS\SYSTEM32\SHFOLDER.dll
    0x0000000045460000  0x1f0000  C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MiKTeX210100-libressl-crypto.dll
    0x0000000060ee0000  0x8e000   C:\WINDOWS\SYSTEM32\WINSPOOL.DRV
    0x000000006a8e0000  0x7000    C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MSVCP140_CODECVT_IDS.dll
    0x00000000778b0000  0x2e000   C:\WINDOWS\SYSTEM32\USERENV.dll
    0x00000000771e0000  0x6a000   C:\WINDOWS\SYSTEM32\MSWSOCK.dll
    0x00000000495c0000  0x21000   C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MiKTeX210100-mspack.dll
    0x0000000071960000  0x9000    C:\WINDOWS\SYSTEM32\WSOCK32.dll
    0x00000000778e0000  0x3c000   C:\WINDOWS\SYSTEM32\SSPICLI.DLL
    0x00000000777f0000  0xa000    C:\WINDOWS\SYSTEM32\DPAPI.DLL
    0x0000000076f90000  0xc000    C:\WINDOWS\SYSTEM32\NETUTILS.DLL
    0x0000000067670000  0x28000   C:\WINDOWS\SYSTEM32\SRVCLI.DLL
    0x00000000773d0000  0xc000    C:\WINDOWS\SYSTEM32\CRYPTBASE.DLL
    0x0000000079750000  0x30000   C:\WINDOWS\System32\IMM32.DLL
    0x0000000078c00000  0xae000   C:\WINDOWS\System32\shcore.dll
    0x0000000077ee0000  0x80000   C:\WINDOWS\System32\bcryptPrimitives.dll
    0x00000000444d0000  0x175000  C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\platforms\qwindows.dll
    0x00000000737a0000  0x14000   C:\WINDOWS\SYSTEM32\WTSAPI32.dll
    0x0000000075960000  0x12000   C:\WINDOWS\SYSTEM32\kernel.appcore.dll
    0x0000000075b60000  0x78f000  C:\WINDOWS\SYSTEM32\windows.storage.dll
    0x0000000077460000  0x2c000   C:\WINDOWS\SYSTEM32\Wldp.dll
    0x0000000077930000  0x26000   C:\WINDOWS\SYSTEM32\profapi.dll
    0x0000000077000000  0x4b000   C:\WINDOWS\SYSTEM32\powrprof.dll
    0x0000000076e60000  0x12000   C:\WINDOWS\SYSTEM32\UMPDC.dll
    0x0000000049590000  0x26000   C:\Users\ouche\AppData\Local\Programs\MiKTeX\miktex\bin\x64\styles\qwindowsvistastyle.dll
    0x000000005c880000  0x27f000  C:\WINDOWS\system32\dwrite.dll
    0x00000000787d0000  0x116000  C:\WINDOWS\System32\MSCTF.dll
    0x0000000076e80000  0x3b000   C:\WINDOWS\SYSTEM32\iphlpapi.dll
    0x0000000076ec0000  0xcb000   C:\WINDOWS\SYSTEM32\DNSAPI.dll
    0x0000000078450000  0x8000    C:\WINDOWS\System32\NSI.dll
    0x000000006c270000  0x26000   C:\Program Files\Bonjour\mdnsNSP.dll
    0x000000006a590000  0xa000    C:\Windows\System32\rasadhlp.dll
    0x000000006a860000  0x7f000   C:\WINDOWS\System32\fwpuclnt.dll
    0x0000000077f60000  0x27000   C:\WINDOWS\System32\bcrypt.dll
    0x0000000076a30000  0x91000   C:\WINDOWS\system32\schannel.DLL
    0x0000000061760000  0x15000   C:\WINDOWS\SYSTEM32\mskeyprotect.dll
    0x0000000077490000  0x3b000   C:\WINDOWS\SYSTEM32\NTASN1.dll
    0x00000000774d0000  0x27000   C:\WINDOWS\SYSTEM32\ncrypt.dll
    0x0000000068910000  0x26000   C:\WINDOWS\system32\ncryptsslp.dll
    0x0000000070020000  0x29b000  C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.746_none_ca02b4b61b8320a4\comctl32.dll
    0x0000000071380000  0x1b4000  C:\WINDOWS\SYSTEM32\WindowsCodecs.dll
    0x0000000078aa0000  0xa9000   C:\WINDOWS\System32\clbcatq.dll
    0x000000005ae20000  0x66000   C:\Windows\System32\thumbcache.dll
    0x0000000072160000  0xa0000   C:\WINDOWS\SYSTEM32\policymanager.dll
    0x0000000076ba0000  0x8a000   C:\WINDOWS\SYSTEM32\msvcp110_win.dll
    0x000000004abd0000  0x1cf000  C:\WINDOWS\system32\d3d9.dll
    0x0000000063770000  0x3e000   C:\WINDOWS\system32\dataexchange.dll
    0x0000000073fa0000  0x1e7000  C:\WINDOWS\system32\dcomp.dll
    0x0000000070fb0000  0x201000  C:\WINDOWS\system32\twinapi.appcore.dll
    0x000000006c120000  0xfb000   C:\WINDOWS\SYSTEM32\textinputframework.dll
    0x00000000749c0000  0x35e000  C:\WINDOWS\System32\CoreUIComponents.dll
    0x00000000750e0000  0xf2000   C:\WINDOWS\System32\CoreMessaging.dll
    0x0000000076740000  0x33000   C:\WINDOWS\SYSTEM32\ntmarta.dll
    0x00000000739e0000  0x154000  C:\WINDOWS\SYSTEM32\wintypes.dll
    

    Theres also the echo %QT_PLUGIN_PATH but whenever i do that it just copies %QT_PLUGIN_PATH%. So i dont know what to do with that.

    Any help is accepted and thank you for reading this.

    Yours Faithfully,
    Spooker.


  • Lifetime Qt Champion

    @Spookr Open cmd.exe, set QT_DEBUG_PLUGINS and then start the app from the same cmd.exe. Post the output here.



  • @jsulm when I do set QT_DEBUG_PLUGIN it just says "Environment variable QT_DEBUG_PLUGINS not defined". Is this normal? I would assume not.


  • Lifetime Qt Champion

    @Spookr Correct syntax is:

    set QT_DEBUG_PLUGIN=1
    


  • @jsulm i got the "couldnt find or load QT platform plugin" thing again



  • @Spookr , @jsulm
    As per @jsulm's first post, note the correct spelling is indeed set QT_DEBUG_PLUGINS=1. Note the S.

    You will still get the error. You need to look at the end of the diagnostic output you now receive.



  • @JonB I did set QT_DEBUG_PLUGINS=1 but it just moves on to the next line as for the error nothing happened that was new


  • Lifetime Qt Champion

    @Spookr I don't understand: did you run the app again after fixing the variable name?



  • @Spookr

    1. Set the variable in a Command Prompt.
    2. Run your application from the Command Prompt.
    3. Look at the diagnostic output you now receive in the Command Prompt.

Log in to reply