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. Run QT application on other computers
Qt 6.11 is out! See what's new in the release blog

Run QT application on other computers

Scheduled Pinned Locked Moved General and Desktop
6 Posts 4 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.
  • K Offline
    K Offline
    kamranK
    wrote on last edited by
    #1

    Hi everyone,,, I created an Qt application using MINGW 4.7. When I try to run the .exe file on any other computer it does not execute and requires a QtCore4.dll file. How to solve this problem. I want to run the application on other computer without having to install Qt on it

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

      Hi and welcome to DevNet,

      Have a look at the "deployment documentation for windows":http://qt-project.org/doc/qt-4.8/deployment-windows.html

      It explains what you need to do

      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
      • sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by
        #3

        You need to copy relevant libraries with your app, or build statically. See "deployment":http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html guide.

        (Z(:^

        1 Reply Last reply
        0
        • L Offline
          L Offline
          luca
          wrote on last edited by
          #4

          The easier way is to copy the required dll from QtSDK sub-directories to the same directory where you have the executable.

          1 Reply Last reply
          0
          • K Offline
            K Offline
            kamranK
            wrote on last edited by
            #5

            So if want to compile normally do i use -release after the configure command

            1 Reply Last reply
            0
            • sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #6

              No. You need to copy the files yourself. Make system will not do this for you unless you run some custom copying script.

              (Z(:^

              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