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 MSVC2017 Unable to find the platform plugin
Forum Updated to NodeBB v4.3 + New Features

windeployqt MSVC2017 Unable to find the platform plugin

Scheduled Pinned Locked Moved Solved Installation and Deployment
2 Posts 1 Posters 727 Views
  • 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.
  • E Offline
    E Offline
    enno2
    wrote on last edited by
    #1

    Hi,
    I'm using Qt 5.14 on Windows10 and compiled my code (release and debug) with Desktop MSVC2017 compiler. It compiles and executes fine from Qt Creator. However, I then get an error when trying to deploy using windeployqt (using windeployqt.exe from msvc subdirectory of my Qt5.14 folder). It says "Unable to find the platform plugin". I already googled it, seems that there were issues when using mingw compiler and windeployqt, but I'm using MSVC... Any suggestions welcome as I have no clue...

    snippingtool.PNG

    1 Reply Last reply
    0
    • E Offline
      E Offline
      enno2
      wrote on last edited by
      #2

      Update:
      Seems most likely to be an 2017/2019 problem. Qt supports MSVC2017 compiler, but I had the 2019 compiler from Visual studio 2019 installation. Qt creator was showing a small warning symbol if you hover the mouse over the kit, but it was compiling fine (I read somewhere, that the 2019 compiler is downward compatible). So that's alright, but it wasn't possible to run windeployqt then.

      Now I installed Visual studio 2017 and can change the compiler in qt creator to msvc2017 (15.9.28307.1033). The warning symbol disappears and it compiles fine. I also re-installed qt and running windeployqt works fine now. Strange... (might also be the re-installation of qt, but I had this issue in 2 different machines...)

      1 Reply Last reply
      0

      • Login

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