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. Deployment in Ubuntu Linux

Deployment in Ubuntu Linux

Scheduled Pinned Locked Moved General and Desktop
6 Posts 5 Posters 5.0k 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.
  • V Offline
    V Offline
    vezprog
    wrote on 27 Jul 2011, 19:08 last edited by
    #1

    I have a couple questions about deployment in Ubuntu. I have my application almost complete and I am looking into deployment options. I know there is two different types of deployment (static and dynamic), where static contains all the library files needed from Qt, and dynamic is the opposite.

    I have successfully brought my Linux application to another Linux box and installed using qmake and make (auto-tools). What I would really like to do is make my installation a .deb file, so I can install it in one shot with a .deb file (I'm assuming this will bring up the software center as well if I understand it correctly?)

    Unfortunately, I cannot find any tutorials on how to make a Qt4 application install via .deb file. I would like to make it a static install as well since all the box's will be used on might not have the Qt4 development environment pre-installed.

    Any one have any good tips on where to start?

    p.s. I have read many documents on how to make a .deb file, yet none give a step by step process on how to do so, just looking to automate the installation process for qmake and make, and all that good stuff. Also, this application might be used on a windows platform as well, but that's another by it's self.

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dangelog
      wrote on 27 Jul 2011, 20:42 last edited by
      #2

      Try discussing that with the debian packagers, #debian-qt-kde on OFTC.

      Software Engineer
      KDAB (UK) Ltd., a KDAB Group company

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DenisKormalev
        wrote on 27 Jul 2011, 22:09 last edited by
        #3

        I'm not sure you should go with static linking when creating .deb package. You simply can write qt as dependency and it will be installed automatically.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mlong
          wrote on 27 Jul 2011, 22:35 last edited by
          #4

          I know that creator is capable of generating all the magic that needs to happen to package a .deb for Harmattan & such. You might consider generating a skeleton app for that platform and looking at what the .pro looks like and what files are generated, and what the packaging deployment step looks like under Projects->Run. From there it might not be a big deal to change it to deal with Ubuntu. But that's just speculation. I'm not sure if there's other magic involved or not.

          Software Engineer
          My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

          1 Reply Last reply
          0
          • V Offline
            V Offline
            vezprog
            wrote on 28 Jul 2011, 02:09 last edited by
            #5

            Thank you all for your input, previously I looked into adding the Qt dependencies on the install for .deb, I believe that would be the best way to go. I just gotta figure out how to do it! I believe its just an addition to the dependency list in the config file for the .deb package.

            I thank you all again for you input.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              Ade Malsasa Akbar
              wrote on 20 Nov 2013, 09:05 last edited by
              #6

              I have found the easiest Debian packaging guide (and it works perfectly for my own released app): http://blog.noizeramp.com/2005/08/31/packaging-java-applications-for-ubuntu-and-other-debians/. Actually it is for Java (and my app is Java) but I can use it on my Qt app. Same.

              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