Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. windeployqt Unable to find the platform plugin.
Forum Updated to NodeBB v4.3 + New Features

windeployqt Unable to find the platform plugin.

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
6 Posts 4 Posters 3.3k 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.
  • J Offline
    J Offline
    JohnDaYe
    wrote on last edited by JohnDaYe
    #1

    E:\Projects\Qt\testtableview\release>set PATH=%PATH%;E:\Qt\Qt5.12.0_VS2017_VCLTL\bin

    E:\Projects\Qt\testtableview\release>windeployqt --release testtableview.exe
    E:\Projects\Qt\testtableview\release\testtableview.exe 64 bit, release executable
    Direct dependencies: Qt5Core Qt5Widgets Qt5WebEngineWidgets
    All dependencies : Qt5Core Qt5Gui Qt5Network Qt5Positioning Qt5PrintSupport Qt5Qml Qt5Quick Qt5QuickWidgets Qt5Widgets Qt5WebEngineCore Qt5WebEngineWidgets Qt5WebChannel
    To be deployed : Qt5Core Qt5Gui Qt5Network Qt5Positioning Qt5PrintSupport Qt5Qml Qt5Quick Qt5QuickWidgets Qt5Widgets Qt5WebEngineCore Qt5WebEngineWidgets Qt5WebChannel
    Unable to find the platform plugin.

    Qt Version 5.12.0
    qt.conf

    [Paths]
    Prefix=..
    
    J 1 Reply Last reply
    0
    • J JohnDaYe

      E:\Projects\Qt\testtableview\release>set PATH=%PATH%;E:\Qt\Qt5.12.0_VS2017_VCLTL\bin

      E:\Projects\Qt\testtableview\release>windeployqt --release testtableview.exe
      E:\Projects\Qt\testtableview\release\testtableview.exe 64 bit, release executable
      Direct dependencies: Qt5Core Qt5Widgets Qt5WebEngineWidgets
      All dependencies : Qt5Core Qt5Gui Qt5Network Qt5Positioning Qt5PrintSupport Qt5Qml Qt5Quick Qt5QuickWidgets Qt5Widgets Qt5WebEngineCore Qt5WebEngineWidgets Qt5WebChannel
      To be deployed : Qt5Core Qt5Gui Qt5Network Qt5Positioning Qt5PrintSupport Qt5Qml Qt5Quick Qt5QuickWidgets Qt5Widgets Qt5WebEngineCore Qt5WebEngineWidgets Qt5WebChannel
      Unable to find the platform plugin.

      Qt Version 5.12.0
      qt.conf

      [Paths]
      Prefix=..
      
      J Offline
      J Offline
      JohnDaYe
      wrote on last edited by
      #2

      it is windeploy's bug
      i reslove it
      how to comit bug fix?

      1 Reply Last reply
      1
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        Please take a look at the Gerrit Introduction page.

        Before that, you should also check the status of your bug against the latest checkout of the 5.12 branch as well as the dev branch just in case somebody already fixed that.

        By the way, did you also check the bug report system to see if there was something related ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        J 1 Reply Last reply
        1
        • SGaistS SGaist

          Hi,

          Please take a look at the Gerrit Introduction page.

          Before that, you should also check the status of your bug against the latest checkout of the 5.12 branch as well as the dev branch just in case somebody already fixed that.

          By the way, did you also check the bug report system to see if there was something related ?

          J Offline
          J Offline
          JohnDaYe
          wrote on last edited by
          #4

          @SGaist I Will do it step by step

          1 Reply Last reply
          1
          • M Offline
            M Offline
            mumushuiding
            wrote on last edited by
            #5

            解决方法:https://blog.csdn.net/mumushuiding/article/details/103728274

            如果在build时选择mingw,以及打包是使用mingw下的windeployqt确实会存在这种问题。

            但是若是build时选择MSVC,以及打包是使用相应的windeployqt就没问题,QT5.14版本亲测有效

            JKSHJ 1 Reply Last reply
            1
            • M mumushuiding

              解决方法:https://blog.csdn.net/mumushuiding/article/details/103728274

              如果在build时选择mingw,以及打包是使用mingw下的windeployqt确实会存在这种问题。

              但是若是build时选择MSVC,以及打包是使用相应的windeployqt就没问题,QT5.14版本亲测有效

              JKSHJ Offline
              JKSHJ Offline
              JKSH
              Moderators
              wrote on last edited by
              #6

              @mumushuiding said in windeployqt Unable to find the platform plugin.:

              解决方法:https://blog.csdn.net/mumushuiding/article/details/103728274

              如果在build时选择mingw,以及打包是使用mingw下的windeployqt确实会存在这种问题。

              但是若是build时选择MSVC,以及打包是使用相应的windeployqt就没问题,QT5.14版本亲测有效

              Hi @mumushuiding, welcome to the Qt Forum and thank you for sharing your findings!

              In the future, please post using the same language as the thread that you're replying to. Feel free to post Chinese content at https://forum.qt.io/category/37/chinese

              Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

              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