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. Could not load qt platform windows, only available platform is windows
QtWS25 Last Chance

Could not load qt platform windows, only available platform is windows

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

    Was creating a new project in MSVC2017 with the QT Visual studio tools plugin, as a QT Project, and it compiles fine, but when i attempt to run it I get this popup

    alt text

    Originally it didnt have the "available platforms are" But i put the platforms folder in the .exe's folder and added qwindows.dll, but it still wont run, and all the solutions ive found have been unrelated to my current perdicament

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

      Hi,

      Are you trying to run it outside Visual Studio ? If so, then you should first call windeployqt on your application.

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

      1 Reply Last reply
      1
      • SolaVitaeS Offline
        SolaVitaeS Offline
        SolaVitae
        wrote on last edited by
        #3

        No, it won't run at all, both from visual studio debug/release mode, and just trying to run it, all methods result in the same message

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

          Did you run windeployqt on the binary as suggested ?

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

          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