Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. build launches form within QtCreator but .exe cannot find Qt .dll s when launched from folder
Forum Updated to NodeBB v4.3 + New Features

build launches form within QtCreator but .exe cannot find Qt .dll s when launched from folder

Scheduled Pinned Locked Moved Solved Installation and Deployment
8 Posts 3 Posters 535 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.
  • uaniU Offline
    uaniU Offline
    uani
    wrote on last edited by
    #1

    I guess my issue is the Windows variant of https://forum.qt.io/topic/140177/qt-libraries-not-found-is-the-executable-is-copied-from-another-machine/15

    I eventually want to let my build app get run on other machines.

    What do i have to do?

    12813688-49b7-442c-8970-42e615a28d4e-image.png

    "Execution cannot resume due to dll not found. Reinstallation of the program might solve this."

    and when I copy over a lot of mentioned dlls (more mentioned after the 1st "OK"), i receive:

    93586734-9b97-4842-829d-0c49d8003bff-image.png

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

      Hi,

      Deploy your application using windeployqt. It should gather the required dependencies.

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

        Thank you! This did it.

        https://doc.qt.io/qt-6/windows-deployment.html

        almost, the following 3 files I needed to copy from 6.4 bin additionally:

        libgcc_s_seh-1.dll
        libstdc++-6.dll
        libwinpthread-1.dll

        1 Reply Last reply
        1
        • uaniU Offline
          uaniU Offline
          uani
          wrote on last edited by
          #4

          btw. @ Qt : add a command for this to QtCreator.

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

            You can open a feature request for that if there's none already (or vote for it if it already does).

            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
            • uaniU Offline
              uaniU Offline
              uani
              wrote on last edited by
              #6

              @SGaist where can I open such a feature request?

              jsulmJ 1 Reply Last reply
              0
              • uaniU uani

                @SGaist where can I open such a feature request?

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

                @uani https://bugreports.qt.io/secure/Dashboard.jspa

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

                1 Reply Last reply
                1
                • uaniU Offline
                  uaniU Offline
                  uani
                  wrote on last edited by
                  #8

                  created https://bugreports.qt.io/browse/QTCREATORBUG-28474

                  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