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. Linux (Ubuntu 12.04) deployment
QtWS25 Last Chance

Linux (Ubuntu 12.04) deployment

Scheduled Pinned Locked Moved General and Desktop
linuxdeploymetubuntuinstall
3 Posts 3 Posters 1.7k 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.
  • P Offline
    P Offline
    PabloAmunt
    wrote on 15 May 2015, 12:25 last edited by
    #1

    Hi, I want to distribute my Qt application for Linux.

    I've read this article:
    http://doc.qt.io/qt-5/linux-deployment.html

    However, I don't want to distribute the Qt libraries along with my programme. I would prefer to give the final user some instructions like:

    sudo apt-get install libqt5
    sudo apt-get install ...
    ...

    But I don't know what I need to give to the final user. My applications depends on Qt core, gui, serialport, svg, webkitwidgets and network. Where can I find some documentation about this?

    I believe that this approach is better than distributing the Qt libraries and running the application through a .sh script because the Qt libraries would be installed in the default location and could be used by more applications. Am I right?

    Thanks

    ? 1 Reply Last reply 15 May 2015, 23:13
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 15 May 2015, 23:08 last edited by
      #2

      Hi and welcome to devnet,

      Looks like you are targeting ubuntu, right ? In that case you should rather take a look at how to create a package for them. A properly prepared package will allow your user to just install your software and it will automatically pull in all needed dependencies.

      Hope it helps

      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
      • P PabloAmunt
        15 May 2015, 12:25

        Hi, I want to distribute my Qt application for Linux.

        I've read this article:
        http://doc.qt.io/qt-5/linux-deployment.html

        However, I don't want to distribute the Qt libraries along with my programme. I would prefer to give the final user some instructions like:

        sudo apt-get install libqt5
        sudo apt-get install ...
        ...

        But I don't know what I need to give to the final user. My applications depends on Qt core, gui, serialport, svg, webkitwidgets and network. Where can I find some documentation about this?

        I believe that this approach is better than distributing the Qt libraries and running the application through a .sh script because the Qt libraries would be installed in the default location and could be used by more applications. Am I right?

        Thanks

        ? Offline
        ? Offline
        A Former User
        wrote on 15 May 2015, 23:13 last edited by
        #3

        Hi @PabloAmunt,
        packaging for Linux is a major pain in the ass. If you are targeting Ubuntu the place to start is the Ubuntu packaging guide: http://packaging.ubuntu.com/
        Good luck!

        1 Reply Last reply
        0

        2/3

        15 May 2015, 23:08

        • Login

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