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. Portable exe by QT

Portable exe by QT

Scheduled Pinned Locked Moved General and Desktop
9 Posts 5 Posters 2.3k 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.
  • G Offline
    G Offline
    GGILOYAN
    wrote on last edited by
    #1

    Hi all
    Please advise

    Is there any way to create portable exe by QT. I mean run the software withouth dlls and files

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Sanchir Kartiev
      wrote on last edited by
      #2

      i think so you must buy commercial version of Qt to do this.

      1 Reply Last reply
      0
      • G Offline
        G Offline
        GGILOYAN
        wrote on last edited by
        #3

        The only solution is that ??? :((

        1 Reply Last reply
        0
        • K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          It depends on what license you want to use for your exes.
          For open source projects you have to deliver your source code and may statically link to Qt.But checkout the license options.

          You would need to create static Qt libs for linking by your own. There are no precompiled static libs prepared here nor should be somewhere else, I believe.

          I am not sure if you will have static libs automatically with a commercial license.

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          0
          • G Offline
            G Offline
            GGILOYAN
            wrote on last edited by
            #5

            thanks
            I have to create executable for Windows, Linux and for OS X
            Is that possible without buying commercial license?

            1 Reply Last reply
            0
            • N Offline
              N Offline
              NetZwerg
              wrote on last edited by
              #6

              This question has already been answered. For further information check out https://qt-project.org/products/licensing

              Since Qt is a cross platform framework, yes you can create executables for the given platforms.

              1 Reply Last reply
              0
              • G Offline
                G Offline
                GGILOYAN
                wrote on last edited by
                #7

                I know that QT is a cross platform framework.
                My question is the run exe file portable
                thanks

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  andreyc
                  wrote on last edited by
                  #8

                  You need a static build of Qt and three static builds, one for each platform, of your app.

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    GGILOYAN
                    wrote on last edited by
                    #9

                    Ok. Thanks ))))))

                    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