Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

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

    General and Desktop
    2
    4
    835
    Loading More Posts
    • 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.
    • SolaVitae
      SolaVitae last edited by

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 1
        • SolaVitae
          SolaVitae last edited by

          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 Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            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 Reply Quote 0
            • First post
              Last post