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

Explorer Extensions unable to find "windows" plugin



  • Hi all,

    I'm writing a context menu extension dll for explorer.
    I placed the qwindows.dll in the platforms folder wrt the extension dll.

    When I try register it with regsvr32 command I got the error message "this application failed to start because it could not find or load the Qt platform plugin "Windows" because the qwindows.dll is searched in the C:\windows\system32\platforms\qwindows.dll path since explorer.exe is placed in C:\windows\system32.

    Since I would like to avoid placing dll in system32 folder how can I change the search path for the dll to have my extensions work?


  • Lifetime Qt Champion

    @cOld said:

    platforms

    Hi
    I wonder if u can make it work using
    QT_QPA_PLATFORM_PLUGIN_PATH
    Qt Environment Variable
    http://stackoverflow.com/questions/16843303/where-are-qt-platform-dlls-supposed-to-go


Log in to reply