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. This application failed to start because no Qt platform ...
Forum Updated to NodeBB v4.3 + New Features

This application failed to start because no Qt platform ...

Scheduled Pinned Locked Moved Solved General and Desktop
16 Posts 6 Posters 8.8k Views 4 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.
  • tomyT tomy

    @mrjj
    Hi mrjj,
    Thanks. Your post solved the issue. :)

    mrjjM Offline
    mrjjM Offline
    mrjj
    Lifetime Qt Champion
    wrote on last edited by
    #7

    @tomy
    Super.
    One note.
    There is 2 version in the folder.
    Like qt5Core
    and
    qt5CoreD
    the D is the debug version.
    Make sure to always compile in release mode ( your app)
    and only copy the non D version to your folder.

    tomyT 1 Reply Last reply
    2
    • mrjjM mrjj

      @tomy
      Super.
      One note.
      There is 2 version in the folder.
      Like qt5Core
      and
      qt5CoreD
      the D is the debug version.
      Make sure to always compile in release mode ( your app)
      and only copy the non D version to your folder.

      tomyT Offline
      tomyT Offline
      tomy
      wrote on last edited by
      #8

      @mrjj
      Yeah, I knew these, but still thanks. :)

      1 Reply Last reply
      1
      • C Offline
        C Offline
        crush
        wrote on last edited by
        #9
        This post is deleted!
        1 Reply Last reply
        0
        • JKSHJ JKSH

          You must put qwindows.dll inside a subfolder: platforms\qwindows.dll

          Better yet, use the windeployqt tool: https://doc.qt.io/qt-5/windows-deployment.html

          @tomy said in This application failed to start because no Qt platform ...:

          And I guess it's related to my Environment Variables Path, but there isn't any path of Qt there:

          That is not a problem. In fact, Qt should not be in your PATH.

          C Offline
          C Offline
          crush
          wrote on last edited by
          #10

          @JKSH hi,i did what you said,but still have the same problem.Can you tell me how to solve it,please?

          mrjjM 1 Reply Last reply
          0
          • C crush

            @JKSH hi,i did what you said,but still have the same problem.Can you tell me how to solve it,please?

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #11

            @crush
            hi
            did you use the windeployqt tool ?

            C 1 Reply Last reply
            0
            • mrjjM mrjj

              @crush
              hi
              did you use the windeployqt tool ?

              C Offline
              C Offline
              crush
              wrote on last edited by
              #12

              @mrjj not yet because i don't know how to use it

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

                @crush It's explained in the documentation.

                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
                3
                • C Offline
                  C Offline
                  Chris King
                  wrote on last edited by
                  #14

                  I am running into this message attempting to run Houdini. If I google this error message I find talk of many people running into this issue when running various apps. Autodesk Maya, Google One drive to name a few. Are all these vendors not properly installing their apps? Are users expected to modify their installations of these apps using windeployqt?

                  mrjjM JKSHJ 2 Replies Last reply
                  0
                  • C Chris King

                    I am running into this message attempting to run Houdini. If I google this error message I find talk of many people running into this issue when running various apps. Autodesk Maya, Google One drive to name a few. Are all these vendors not properly installing their apps? Are users expected to modify their installations of these apps using windeployqt?

                    mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by
                    #15

                    @Chris-King
                    Hi
                    Make sure you are using a fully patch supported windows version. Win 7 might give issues.
                    It might not always be the vendors fault but some other installed app that added its folder to the global search path.
                    No, windeployqt is meant for the developers, not end user as for it to function, you need a Qt installation to get the
                    DLLs from. Besides the end user would have to know which compiler and Qt version that was used.

                    1 Reply Last reply
                    2
                    • C Chris King

                      I am running into this message attempting to run Houdini. If I google this error message I find talk of many people running into this issue when running various apps. Autodesk Maya, Google One drive to name a few. Are all these vendors not properly installing their apps? Are users expected to modify their installations of these apps using windeployqt?

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

                      @Chris-King said in This application failed to start because no Qt platform ...:

                      I am running into this message attempting to run Houdini.

                      Please provide the full, exact message. There are subtly different versions of the message; some include additional details which can help pinpoint the exact issue.

                      Are all these vendors not properly installing their apps?

                      Most vendors probably installed their apps correctly.

                      However, it only takes 1 badly-behaved app to cause DLL Hell and ruin things for everyone else on that PC. You'll need to track down that badly-behaved app and do something about it.

                      Are users expected to modify their installations of these apps using windeployqt?

                      No, users are not expected to do anything. Software developers are expected to provide well-behaved installers.

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

                      1 Reply Last reply
                      2

                      • Login

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