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. Program is not running outside of Qt IDE
Forum Updated to NodeBB v4.3 + New Features

Program is not running outside of Qt IDE

Scheduled Pinned Locked Moved General and Desktop
13 Posts 3 Posters 2.4k Views 1 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.
  • S Offline
    S Offline
    SandDune80
    wrote on last edited by
    #1

    So first I was prompted, asking for a bunch of .dll files every time I ran the debug or release, and I ended up placing all the required DLLs in the program's directory.
    Now I get this:
    [img]http://puu.sh/6RHQP[/img]
    Could someone help?

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

      Hi and welcome to devnet,

      Starting a Qt application outside Qt Creator has the same requirement as deploying it. See the "deployment guide":http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html

      And this "thread":https://qt-project.org/forums/viewthread/38079

      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
      • S Offline
        S Offline
        SandDune80
        wrote on last edited by
        #3

        I'm on Windows, and the commands in that deployment guide doesn't work.
        I personally really need some specific instructions on what to do.

        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          [quote author="SandDune80" date="1392513315"]I'm on Windows, and the commands in that deployment guide doesn't work.
          I personally really need some specific instructions on what to do.[/quote]Hi,

          The 2nd link that SGaist gave you links to a guide with specific, step-by-step instructions.

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

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SandDune80
            wrote on last edited by
            #5

            http://puu.sh/6Y0Fj.png

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

              From the image you seem to have copied just every dll.

              Please, only use the one your applications need as well as the platform and other plugins

              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
              • JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by
                #7

                [quote author="SGaist" date="1392547644"]From the image you seem to have copied just every dll.

                Please, only use the one your applications need as well as the platform and other plugins[/quote]I believe SandDune80 was just following what was written in the wiki, which described eliminating unneeded files one by one, instead of adding needed files one by one.

                [quote author="SandDune80" date="1392531016"]
                http://puu.sh/6RHQP
                ...
                http://puu.sh/6Y0Fj.png[/quote]The screenshots show that the WinMain entrypoint can't be found -- it looks like the compilation/linking process itself was broken. The problem isn't with missing DLLs.

                What compiler did you use? Do you have multiple compilers in your system?

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

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SandDune80
                  wrote on last edited by
                  #8

                  Here are the compilers:
                  http://puu.sh/6YN94.png

                  1 Reply Last reply
                  0
                  • JKSHJ Offline
                    JKSHJ Offline
                    JKSH
                    Moderators
                    wrote on last edited by
                    #9

                    You have 2 versions of MinGW. They are not compatible with each other. You must make sure that your program loads the correct version of the MinGW DLLs.

                    Please remove MinGW from your PATH and then launch your program again.

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

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      SandDune80
                      wrote on last edited by
                      #10

                      I removed the bottom one but still having the same problem.

                      1 Reply Last reply
                      0
                      • JKSHJ Offline
                        JKSHJ Offline
                        JKSH
                        Moderators
                        wrote on last edited by
                        #11

                        Which version did you use you build your test program?

                        [quote author="SandDune80" date="1392594608"]I removed the bottom one[/quote]Can you describe how you did that?

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

                        1 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          SandDune80
                          wrote on last edited by
                          #12

                          I removed MinGw at the bottom by just removing the bin folder from the codeblocks directory it was in.
                          then I just restarted the Qt IDE and it wasnt listed anymore.
                          so I assume the 4.8 thing was used.

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

                            Nevermind everyone I fixed it,
                            Apparently I grabbed the .dlls from the wrong path. Ineeded to grab them from the path that corresponds to the compiler that I was using.

                            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