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 resolve license errors when installing the MSVC2019 Static kit
Qt 6.11 is out! See what's new in the release blog

How to resolve license errors when installing the MSVC2019 Static kit

Scheduled Pinned Locked Moved Unsolved General and Desktop
15 Posts 5 Posters 1.3k 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.
  • B Blackzero

    I tried to install kits for MSVC2019 Static but during the setup process, an error occurred like this
    The command I used

    C:\Qt\qt-everywhere-src-5.15.13>configure -debug-and-release -commercial -confirm-license -static -platform win32-msvc2019 -nomake examples -nomake tests -prefix C:\Qt\5.15.13-qt-static
    

    error that occurs
    Screenshot 2024-06-26 195837.png

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

    @Blackzero said in How to resolve license errors when installing the MSVC2019 Static kit:

    -commercial

    Do you have a commercial Qt license?

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

    B 1 Reply Last reply
    1
    • jsulmJ jsulm

      @Blackzero said in How to resolve license errors when installing the MSVC2019 Static kit:

      -commercial

      Do you have a commercial Qt license?

      B Offline
      B Offline
      Blackzero
      wrote on last edited by
      #3

      @jsulm No, how do I get it and where can I get it or do I have to buy it?

      Christian EhrlicherC 1 Reply Last reply
      0
      • B Blackzero

        @jsulm No, how do I get it and where can I get it or do I have to buy it?

        Christian EhrlicherC Offline
        Christian EhrlicherC Offline
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on last edited by
        #4

        @Blackzero said in How to resolve license errors when installing the MSVC2019 Static kit:

        No

        Why do you specify it then?

        Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
        Visit the Qt Academy at https://academy.qt.io/catalog

        1 Reply Last reply
        1
        • S Offline
          S Offline
          SimonSchroeder
          wrote on last edited by
          #5

          You'd have to buy a commercial license. However, you can use the open source version with a static build as well. The short explanation is that you'd need to distribute your object files (of your own source code) as well to conform to the LGPL, so that someone else can link to their own version of a static Qt. Note that there are also a few modules like QtCharts that are only available under the GPL or the commercial license.

          B 1 Reply Last reply
          1
          • S SimonSchroeder

            You'd have to buy a commercial license. However, you can use the open source version with a static build as well. The short explanation is that you'd need to distribute your object files (of your own source code) as well to conform to the LGPL, so that someone else can link to their own version of a static Qt. Note that there are also a few modules like QtCharts that are only available under the GPL or the commercial license.

            B Offline
            B Offline
            Blackzero
            wrote on last edited by
            #6

            @SimonSchroeder said in How to resolve license errors when installing the MSVC2019 Static kit:

            However, you can use the open source version with a static build as well

            What is the difference between open source and commercial versions, is the open source version the same as commercial? I saw in the qt article that if you make the application static or "static kits" it will make reverse engineering difficult, is the commercial version safer than open source?

            jsulmJ 1 Reply Last reply
            0
            • B Blackzero

              @SimonSchroeder said in How to resolve license errors when installing the MSVC2019 Static kit:

              However, you can use the open source version with a static build as well

              What is the difference between open source and commercial versions, is the open source version the same as commercial? I saw in the qt article that if you make the application static or "static kits" it will make reverse engineering difficult, is the commercial version safer than open source?

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

              @Blackzero said in How to resolve license errors when installing the MSVC2019 Static kit:

              is the open source version the same as commercial?

              Mostly. There are some modules only available as commercial.
              Main difference is that with commercial license you do not have to care about open source licenses.
              For more details you can ask QtCompany.

              "qt article that if you make the application static or "static kits" it will make reverse engineering difficult" - where do you have this from. I doubt it makes it really harder.
              And commercial or open source license has zero effect on reverse engineering - Qt is in both cases same...

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

              B 1 Reply Last reply
              0
              • jsulmJ jsulm

                @Blackzero said in How to resolve license errors when installing the MSVC2019 Static kit:

                is the open source version the same as commercial?

                Mostly. There are some modules only available as commercial.
                Main difference is that with commercial license you do not have to care about open source licenses.
                For more details you can ask QtCompany.

                "qt article that if you make the application static or "static kits" it will make reverse engineering difficult" - where do you have this from. I doubt it makes it really harder.
                And commercial or open source license has zero effect on reverse engineering - Qt is in both cases same...

                B Offline
                B Offline
                Blackzero
                wrote on last edited by
                #8

                @jsulm said in How to resolve license errors when installing the MSVC2019 Static kit:

                @Blackzero said in How to resolve license errors when installing the MSVC2019 Static kit:

                is the open source version the same as commercial?

                Mostly. There are some modules only available as commercial.
                Main difference is that with commercial license you do not have to care about open source licenses.
                For more details you can ask QtCompany.

                "qt article that if you make the application static or "static kits" it will make reverse engineering difficult" - where do you have this from. I doubt it makes it really harder.
                And commercial or open source license has zero effect on reverse engineering - Qt is in both cases same...

                I forgot but the article mentioned, by adding Obfuscator and static kits it can make it difficult to reverse engineer, I created my own license key with layered algorithms, that's why I'm looking for ways to make it difficult to reverse engineer, I know that nothing is safe.

                S 1 Reply Last reply
                0
                • jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #9

                  If you want to have a static build you have to also build all libraries you're using as static libs - this also includes Qt.

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

                  B 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    If you want to have a static build you have to also build all libraries you're using as static libs - this also includes Qt.

                    B Offline
                    B Offline
                    Blackzero
                    wrote on last edited by
                    #10

                    @jsulm said in How to resolve license errors when installing the MSVC2019 Static kit:

                    If you want to have a static build you have to also build all libraries you're using as static libs - this also includes Qt.

                    so I have to change my code too

                    JonBJ 1 Reply Last reply
                    0
                    • B Blackzero

                      @jsulm said in How to resolve license errors when installing the MSVC2019 Static kit:

                      If you want to have a static build you have to also build all libraries you're using as static libs - this also includes Qt.

                      so I have to change my code too

                      JonBJ Online
                      JonBJ Online
                      JonB
                      wrote on last edited by
                      #11

                      @Blackzero
                      No, you do not have to change your code. You must change the way you build both your own code and Qt itself (yes, you will have to build Qt libraries) so that all of them are built/linked statically.

                      jsulmJ 1 Reply Last reply
                      0
                      • JonBJ JonB

                        @Blackzero
                        No, you do not have to change your code. You must change the way you build both your own code and Qt itself (yes, you will have to build Qt libraries) so that all of them are built/linked statically.

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

                        @Blackzero I never said that. You should read about static and dynamic linking. It has nothing to do with the code of your application.

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

                        JonBJ 1 Reply Last reply
                        0
                        • jsulmJ jsulm

                          @Blackzero I never said that. You should read about static and dynamic linking. It has nothing to do with the code of your application.

                          JonBJ Online
                          JonBJ Online
                          JonB
                          wrote on last edited by JonB
                          #13

                          @jsulm You have addressed your last post @JonB. Did you mean @Blackzero, the OP? :)

                          jsulmJ 1 Reply Last reply
                          0
                          • JonBJ JonB

                            @jsulm You have addressed your last post @JonB. Did you mean @Blackzero, the OP? :)

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

                            @JonB said in How to resolve license errors when installing the MSVC2019 Static kit:

                            Did you mean @Blackzero, the OP?

                            Yes, I did. Sorry :-)

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

                            1 Reply Last reply
                            0
                            • B Blackzero

                              @jsulm said in How to resolve license errors when installing the MSVC2019 Static kit:

                              @Blackzero said in How to resolve license errors when installing the MSVC2019 Static kit:

                              is the open source version the same as commercial?

                              Mostly. There are some modules only available as commercial.
                              Main difference is that with commercial license you do not have to care about open source licenses.
                              For more details you can ask QtCompany.

                              "qt article that if you make the application static or "static kits" it will make reverse engineering difficult" - where do you have this from. I doubt it makes it really harder.
                              And commercial or open source license has zero effect on reverse engineering - Qt is in both cases same...

                              I forgot but the article mentioned, by adding Obfuscator and static kits it can make it difficult to reverse engineer, I created my own license key with layered algorithms, that's why I'm looking for ways to make it difficult to reverse engineer, I know that nothing is safe.

                              S Offline
                              S Offline
                              SimonSchroeder
                              wrote on last edited by
                              #15

                              @Blackzero said in How to resolve license errors when installing the MSVC2019 Static kit:

                              I forgot but the article mentioned, by adding Obfuscator and static kits it can make it difficult to reverse engineer, I created my own license key with layered algorithms, that's why I'm looking for ways to make it difficult to reverse engineer, I know that nothing is safe.

                              If you are using static linking you can strip all symbols from your program. However, I doubt that this is possible under the LGPL. If you really want to use this approach, you need to buy a commercial Qt license.

                              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