Where to put the "platform" plugin folder?



  • [EDIT: Split off to a new topic. They are different problems. --JKSH]

    Hi, I have the same problem on an app that I'm deployed. In my case the installer extract all plugins under <ApplicationDirPath>/plugins (the right way I think) but for some reasons the app is not able to find qwindows.dll inside <ApplicationDirPath>/plugins/platform/qwindows.dll and the error of the topic appears.

    The problem is solved if I copy the folder platform on <ApplicationDirPath>, in this manner all work ok. This is not clear for me: The platform folder should stay inside <ApplicationDirPath> or <ApplicationDirPath>/plugins ?

    I was tested this behaviour on Windows7/8.1/10 with Qt5.7.1


  • Moderators

    @Ziko said in Where to put the "platform" plugin folder?:

    This is not clear for me: The platform folder should stay inside <ApplicationDirPath> or <ApplicationDirPath>/plugins ?

    The correct path is <ApplicationDirPath>/platform/qwindows.dll.

    See https://wiki.qt.io/Deploy_an_Application_on_Windows


Log in to reply
 

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