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. Do I need to bundle the Qt core module source code as part of my application. ?
Forum Updated to NodeBB v4.3 + New Features

Do I need to bundle the Qt core module source code as part of my application. ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 2 Posters 616 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.
  • chaithubkC Offline
    chaithubkC Offline
    chaithubk
    wrote on last edited by chaithubk
    #1

    I am developing a Windows desktop application and I have followed the windeployqt to package my application bundle. I am going through the Deploying Qt's Libraries and I wanted to understand what this line means:

    Unless Qt is part of the system libraries it must be redistributed with your application.
    

    The deployment folder that got generated using windeployqt did not bundle any source code. Do we need to bundle the 'Qt core modules' source code when I package my application as per the above statement ?

    Chris KawaC 1 Reply Last reply
    0
    • chaithubkC chaithubk

      I am developing a Windows desktop application and I have followed the windeployqt to package my application bundle. I am going through the Deploying Qt's Libraries and I wanted to understand what this line means:

      Unless Qt is part of the system libraries it must be redistributed with your application.
      

      The deployment folder that got generated using windeployqt did not bundle any source code. Do we need to bundle the 'Qt core modules' source code when I package my application as per the above statement ?

      Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by Chris Kawa
      #2

      @chaithubk said in Do I need to bundle the Qt core module source code as part of my application. ?:

      I wanted to understand what this line means:

      It only means that for your application to work the Qt libraries (the dlls) of the modules you use need to be present on the target machine. If you're not sure if they're present (and it's definitely not the case on a standard Windows PC) you need to distribute them with your app and windeployqt is the app to help you with that.

      Do we need to bundle the 'Qt core modules' source code when I package my application

      No, definitely not. If you're using the opensource license (GPL or LGPL) you're only required to provide anyone with the Qt sources you used if they ask for it (and no one ever does as it's just easier to download them from the Qt's repo). You can if you like, but there's absolutely no need to bundle them with your app and since they're quite large your users probably wouldn't want that either.

      chaithubkC 2 Replies Last reply
      4
      • Chris KawaC Chris Kawa

        @chaithubk said in Do I need to bundle the Qt core module source code as part of my application. ?:

        I wanted to understand what this line means:

        It only means that for your application to work the Qt libraries (the dlls) of the modules you use need to be present on the target machine. If you're not sure if they're present (and it's definitely not the case on a standard Windows PC) you need to distribute them with your app and windeployqt is the app to help you with that.

        Do we need to bundle the 'Qt core modules' source code when I package my application

        No, definitely not. If you're using the opensource license (GPL or LGPL) you're only required to provide anyone with the Qt sources you used if they ask for it (and no one ever does as it's just easier to download them from the Qt's repo). You can if you like, but there's absolutely no need to bundle them with your app and since they're quite large your users probably wouldn't want that either.

        chaithubkC Offline
        chaithubkC Offline
        chaithubk
        wrote on last edited by
        #3

        @chris-kawa Thank you for the clarification.

        1 Reply Last reply
        0
        • Chris KawaC Chris Kawa

          @chaithubk said in Do I need to bundle the Qt core module source code as part of my application. ?:

          I wanted to understand what this line means:

          It only means that for your application to work the Qt libraries (the dlls) of the modules you use need to be present on the target machine. If you're not sure if they're present (and it's definitely not the case on a standard Windows PC) you need to distribute them with your app and windeployqt is the app to help you with that.

          Do we need to bundle the 'Qt core modules' source code when I package my application

          No, definitely not. If you're using the opensource license (GPL or LGPL) you're only required to provide anyone with the Qt sources you used if they ask for it (and no one ever does as it's just easier to download them from the Qt's repo). You can if you like, but there's absolutely no need to bundle them with your app and since they're quite large your users probably wouldn't want that either.

          chaithubkC Offline
          chaithubkC Offline
          chaithubk
          wrote on last edited by
          #4

          @chris-kawa I have one followup question in the same topic, if I use QML in my application then the windeployqt tool also bundles the QML imports in to the application package. Why is that only QML files needs to be distributed with the application?

          1 Reply Last reply
          0
          • Chris KawaC Offline
            Chris KawaC Offline
            Chris Kawa
            Lifetime Qt Champion
            wrote on last edited by Chris Kawa
            #5

            @chaithubk said in Do I need to bundle the Qt core module source code as part of my application. ?:

            Why is that only QML files needs to be distributed with the application?

            Because, unless you use something like Qt Quick Compiler, the files are actually needed to run the app. QML runtime just reads them and parses them when your app is running.

            Have a read about deploying QML here.

            chaithubkC 1 Reply Last reply
            3
            • Chris KawaC Chris Kawa

              @chaithubk said in Do I need to bundle the Qt core module source code as part of my application. ?:

              Why is that only QML files needs to be distributed with the application?

              Because, unless you use something like Qt Quick Compiler, the files are actually needed to run the app. QML runtime just reads them and parses them when your app is running.

              Have a read about deploying QML here.

              chaithubkC Offline
              chaithubkC Offline
              chaithubk
              wrote on last edited by chaithubk
              #6

              @chris-kawa Yeah the QML files that are developed for our application we are going to add it to a resource file and bundle it in our application which is fine, but my doubt was about redistribution of the Qt Core modules source code (as part of LGPL or GPL licenses stuff)

              Do we need to package the Qt Core QML source files with the application ?
              If I don't use the commercial Qt license am I allowed to deploy an QML based application to production ?

              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