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. How to run a Qt application which is created in one PC to another PC

How to run a Qt application which is created in one PC to another PC

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt creatorqt5portableinstallation
7 Posts 6 Posters 2.8k Views
  • 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.
  • A Offline
    A Offline
    Ajith_P_V
    wrote on 24 Dec 2015, 07:33 last edited by
    #1

    Hi,
    I have created a small Qt5 application in a Linux (Ubuntu 14.04) 64 bit PC using Qt Creator. The application is working fine and I can able to see the output.
    Now, I want to distribute the same application executable to my friends. I would like to know how I can achieve this without installing the Qt creator and full source in their PC.
    PS: I have googled and found that, static compiling of Qt application will bind all required library to the application so that, I can use the same in another PCs. But I have no idea how to do it.
    Any help would be appreciated!
    Thank you in advance,
    Ajith P V

    R L 2 Replies Last reply 24 Dec 2015, 07:45
    0
    • A Ajith_P_V
      24 Dec 2015, 07:33

      Hi,
      I have created a small Qt5 application in a Linux (Ubuntu 14.04) 64 bit PC using Qt Creator. The application is working fine and I can able to see the output.
      Now, I want to distribute the same application executable to my friends. I would like to know how I can achieve this without installing the Qt creator and full source in their PC.
      PS: I have googled and found that, static compiling of Qt application will bind all required library to the application so that, I can use the same in another PCs. But I have no idea how to do it.
      Any help would be appreciated!
      Thank you in advance,
      Ajith P V

      R Offline
      R Offline
      Ratzz
      wrote on 24 Dec 2015, 07:45 last edited by
      #2

      @Ajith_P_V
      Hi,
      Did you mean Installer /Executable ? if yes you can refer Qt Installer Framework Manual

      --Alles ist gut.

      1 Reply Last reply
      1
      • A Ajith_P_V
        24 Dec 2015, 07:33

        Hi,
        I have created a small Qt5 application in a Linux (Ubuntu 14.04) 64 bit PC using Qt Creator. The application is working fine and I can able to see the output.
        Now, I want to distribute the same application executable to my friends. I would like to know how I can achieve this without installing the Qt creator and full source in their PC.
        PS: I have googled and found that, static compiling of Qt application will bind all required library to the application so that, I can use the same in another PCs. But I have no idea how to do it.
        Any help would be appreciated!
        Thank you in advance,
        Ajith P V

        L Offline
        L Offline
        Lorence
        wrote on 24 Dec 2015, 08:10 last edited by Lorence
        #3

        @Ajith_P_V
        it says that you need to link the Qt library statically so that when you run it, the dlls for your app will be embedded to the .exe file
        follow this instruction:
        https://wiki.qt.io/Build_Standalone_Qt_Application_for_Windows

        1 Reply Last reply
        0
        • C Offline
          C Offline
          chandrasekhar.embedded
          wrote on 24 Dec 2015, 08:59 last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • M Offline
            M Offline
            mrjj
            Lifetime Qt Champion
            wrote on 24 Dec 2015, 09:29 last edited by
            #5

            Hi
            If you use static linking, you must buy licence or open source you project.

            Alternatively (as most use) is to put some DLLS in same folder as the .exe
            file.
            http://www.tripleboot.org/?p=138

            Notices, that there are 2 DLLS with almost same name. one has D in it and is for debug release.
            the non D version is for release builds. You should use release builds, and don't mix the dlls.
            Then u just zip whole folder and give to friends.

            1 Reply Last reply
            0
            • R Offline
              R Offline
              Ratzz
              wrote on 24 Dec 2015, 10:32 last edited by
              #6

              @danielmutch307
              what help you want?

              --Alles ist gut.

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 24 Dec 2015, 22:43 last edited by
                #7

                @Ratzz spam, it's been removed.

                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

                5/7

                24 Dec 2015, 09:29

                • Login

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