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. Qt 5.9.4 Sample apps do not start, missing dlls?

Qt 5.9.4 Sample apps do not start, missing dlls?

Scheduled Pinned Locked Moved Unsolved General and Desktop
14 Posts 4 Posters 3.2k 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.
  • SikarjanS Offline
    SikarjanS Offline
    Sikarjan
    wrote on last edited by
    #5

    It does not matter which I try all fail. It also does not matter if I choose release or debug or run in debug mode. If I run in debug mode the debug window stays empty.

    On my custom app I ran windeployqt to copy all required dlls into the build folder. After that the my app ran. Therefore I assume that Qt is not finding the right dlls.

    jsulmJ 1 Reply Last reply
    0
    • SikarjanS Sikarjan

      It does not matter which I try all fail. It also does not matter if I choose release or debug or run in debug mode. If I run in debug mode the debug window stays empty.

      On my custom app I ran windeployqt to copy all required dlls into the build folder. After that the my app ran. Therefore I assume that Qt is not finding the right dlls.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #6

      @Sikarjan If your Qt is installed properly then it should find its DLLs if started from QtCreator.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • SikarjanS Offline
        SikarjanS Offline
        Sikarjan
        wrote on last edited by
        #7

        I used the Maintenance Tool to upgrade from 5.6. How can I check that QtCreator was installed properly? I guess some path variable or so needs to be set correctly. Can I check that?

        jsulmJ 1 Reply Last reply
        0
        • SikarjanS Sikarjan

          I used the Maintenance Tool to upgrade from 5.6. How can I check that QtCreator was installed properly? I guess some path variable or so needs to be set correctly. Can I check that?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #8

          @Sikarjan If you create default widget application in QtCreator - does it start from QtCreator without copying any DLLs?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • SikarjanS Offline
            SikarjanS Offline
            Sikarjan
            wrote on last edited by
            #9

            No they don't. I already tried to add C:\Qt\5.9.4\mingw53_32\bin to my PATH variable but that did not change anything either.

            jsulmJ 1 Reply Last reply
            0
            • SikarjanS Sikarjan

              No they don't. I already tried to add C:\Qt\5.9.4\mingw53_32\bin to my PATH variable but that did not change anything either.

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #10

              @Sikarjan Then something is definitely broken with your setup. I'm using MinGW + Qt + QtCreator on Windows 7 without any issues. Check your projects settings: in QtCreator on the left side "Projects/Build & Run" got to "Run" settings and check the "Add build library search path to PATH".

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • SikarjanS Offline
                SikarjanS Offline
                Sikarjan
                wrote on last edited by
                #11

                The checkbox is cheched and I double checked that the C:\Qt\5.9.4\mingw53_32\bin is added to both the system and the user PATH variable.

                So I guess the next thing I can try is to do a fresh install...

                1 Reply Last reply
                0
                • mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #12

                  Hi
                  Make sure there is not a paths in PATH that points to a program folder
                  containing Qt dlls. (besides the actual Qt folder)

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    Sikarjan 0
                    wrote on last edited by
                    #13

                    I just did a fresh install with Qt 5.9.5 and I am still facing the same problem. All apps only run if I copy the Qt dlls into their build folder.

                    I am on a company laptop but I do have admin rights. There is some kind of Symantec protection installed. Could this be related?

                    mrjjM 1 Reply Last reply
                    0
                    • S Sikarjan 0

                      I just did a fresh install with Qt 5.9.5 and I am still facing the same problem. All apps only run if I copy the Qt dlls into their build folder.

                      I am on a company laptop but I do have admin rights. There is some kind of Symantec protection installed. Could this be related?

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

                      @Sikarjan-0
                      well yes, i had such issue with Avast at some point.

                      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