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 distribute Qt 5.4.2 app on Mint 17.x?
Qt 6.11 is out! See what's new in the release blog

How to distribute Qt 5.4.2 app on Mint 17.x?

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

    I don't know much about Linux, but I'm maintaining an app that needs to run on Mint 17.x. I run this to set up a build machine on Mint 17.3:

    sudo apt-get install g++ subversion build-essential devscripts debhelper libicu-dev qtbase5-dev qt5-default libqt5svg5-dev libqt5xmlpatterns5-dev qttools5-dev-tools
    

    Unfortunately, that gets Qt version 5.2.1. My app requires at least Qt 5.4.2.

    I assume to build, I should simply download and install Qt 5.5.1, and point my build script to use the Qt 5.5.1 qmake, and that should do it? Or do I need to do something with qt-chooser or anything else?

    Then, what should I put in the control file (or somewhere else?) so that when my users install my app, the necessary Qt 5.5.1 libraries get installed?

    Thanks,
    David

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      If you plan to make your application run on distributions that doesn't provide the minimal Qt version you need then you will have to ship the Qt libraries along with your application. That also mean that you will have to install it in a folder where your version of Qt will not clash with the system installed Qt.

      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
      • D Offline
        D Offline
        davidb
        wrote on last edited by
        #3

        Thanks. Another thought: would it work to build my app with static linking to the Qt libraries? Can I do that with the free version of Qt?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Yes it should. That depends whether you are ready to provide the sources of your application.

          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
          • D Offline
            D Offline
            davidb
            wrote on last edited by
            #5

            So I can link it statically with the free version of Qt, if I make my app's source code freely available? I've never done anything like that, but it's not out of the question. Where would you suggest I start reading on what the specific requirements are, and how to do it?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              See the Qt license files to see which one you would like to follow.

              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

              • Login

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