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. Qt, Silly Question
Qt 6.11 is out! See what's new in the release blog

Qt, Silly Question

Scheduled Pinned Locked Moved General and Desktop
13 Posts 6 Posters 3.0k Views 3 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.
  • yczoY Offline
    yczoY Offline
    yczo
    wrote on last edited by
    #3

    Thank you very much for your quick response

    1 Reply Last reply
    1
    • beeckscheB Offline
      beeckscheB Offline
      beecksche
      wrote on last edited by beecksche
      #4

      @yczo
      I use the Qt Windows Deployment Tool (http://doc.qt.io/qt-5/windows-deployment.html#the-windows-deployment-tool). This tool adds all necassary libraries, so you can deploy your application easily.

      1 Reply Last reply
      2
      • yczoY Offline
        yczoY Offline
        yczo
        wrote on last edited by
        #5

        Thank you very much beecksche

        1 Reply Last reply
        2
        • mrjjM mrjj

          Hi and welcome
          You will install Qt Libs with your app.
          It cannot run without.
          ( its a few DLLS, not full Qt install)
          http://www.tripleboot.org/?p=138

          You can use static linking and remove the need for DLLS but exe becomes much bigger.
          Also to use this feature you must
          1: Own Qt license
          OR
          2: Your app is open source and code is downloadable

          picaschafP Offline
          picaschafP Offline
          picaschaf
          wrote on last edited by
          #6

          @mrjj Wrong, he can use Qt under L-GPL so he is not obligated to provide his own source code as long as he complies with the license requirements.

          mrjjM 1 Reply Last reply
          0
          • picaschafP picaschaf

            @mrjj Wrong, he can use Qt under L-GPL so he is not obligated to provide his own source code as long as he complies with the license requirements.

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #7

            @picaschaf
            As far as I know you cannot use
            STATIC linking and closed source
            with no Qt license. / open source version.

            ? 1 Reply Last reply
            1
            • mrjjM mrjj

              @picaschaf
              As far as I know you cannot use
              STATIC linking and closed source
              with no Qt license. / open source version.

              ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #8

              @mrjj IANAL. As long as the software is for "internal use" (company, organization, private) she can do with the LGPL code whatever she wants. And even beyond that, technically speaking, she doesn't have to provide her sources to the users as long as she provides binaries (object files) that the users can link with another Qt version.

              mrjjM 1 Reply Last reply
              2
              • ? A Former User

                @mrjj IANAL. As long as the software is for "internal use" (company, organization, private) she can do with the LGPL code whatever she wants. And even beyond that, technically speaking, she doesn't have to provide her sources to the users as long as she provides binaries (object files) that the users can link with another Qt version.

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #9

                @Wieland
                I ANAL :)
                my fav expression :)
                Yeah in theory, the .o files should be enough.
                But why does all then use dynamic linking when using the open version?

                If providing .o files are considered enough to allow modification
                even without access to source code ?

                ? 1 Reply Last reply
                0
                • mrjjM mrjj

                  @Wieland
                  I ANAL :)
                  my fav expression :)
                  Yeah in theory, the .o files should be enough.
                  But why does all then use dynamic linking when using the open version?

                  If providing .o files are considered enough to allow modification
                  even without access to source code ?

                  ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #10

                  @mrjj Sure, that is only a theoretical option on platforms that allow dynamic linking. But AFAIK one has to statically link software for the iOS app store (or whatever Apple calls it).

                  mrjjM kshegunovK 2 Replies Last reply
                  2
                  • ? A Former User

                    @mrjj Sure, that is only a theoretical option on platforms that allow dynamic linking. But AFAIK one has to statically link software for the iOS app store (or whatever Apple calls it).

                    mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by
                    #11

                    @Wieland
                    Ok. Didn't know .o files would be acceptable.
                    That is great news if you can use static linking and just provide a zip with .o files.

                    1 Reply Last reply
                    0
                    • ? A Former User

                      @mrjj Sure, that is only a theoretical option on platforms that allow dynamic linking. But AFAIK one has to statically link software for the iOS app store (or whatever Apple calls it).

                      kshegunovK Offline
                      kshegunovK Offline
                      kshegunov
                      Moderators
                      wrote on last edited by
                      #12

                      @Wieland

                      Sure, that is only a theoretical option on platforms that allow dynamic linking.

                      I already had this discussion some time ago. You can do whatever linking you want, the only thing that's different on Apple's OS-es appears to be the "missing" statically built runtime; so you can only link the runtime dynamically (which, as I pointed out then is how I think it should be in the first place). But, as I don't use OS X, iOS nor iWhatever, you're very much welcome to mistrust me ... :D

                      Read and abide by the Qt Code of Conduct

                      1 Reply Last reply
                      1
                      • yczoY Offline
                        yczoY Offline
                        yczo
                        wrote on last edited by
                        #13

                        Thank you so much everyone

                        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