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. Explorer Extensions unable to find "windows" plugin
Qt 6.11 is out! See what's new in the release blog

Explorer Extensions unable to find "windows" plugin

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 713 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.
  • C Offline
    C Offline
    cOld
    wrote on last edited by
    #1

    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?

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

      @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

      1 Reply Last reply
      1

      • Login

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