Results 1 to 4 of 4

Thread: Ubuntu application deployment

  1. #1
    Join Date
    Mar 2010
    Posts
    86
    Thanks
    11
    Thanked 7 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Ubuntu application deployment

    So this is a newbie question for sure.
    In windows when I want to deploy a release, I can either zip it up with all the .dll's or use Install Shield. Nice and clean.
    In Mac I can use macdeployqt and make a nice quick .dmg

    Ubuntu 12.04 is kinda ticking me off,
    so many tutorials on how to make a debian package for my release version of a program
    I ran the ldd command and found all the dependencies and went and copied them all to the
    release folder. But it seems this isn't the right way to do it. Can I just leave all the release files and dependencies in one folder and just put it into a .tar.gz ? or should I make a debian package and if so, could somebody recommend a tutorial for me, because I'm finding so many different ways to do it, that it's driving me nuts....

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Ubuntu application deployment

    You can create an installer or all-in-one archive just like for any other platform.

    The only "trick" is that you need a start script that set the LD_LIBRARY_PATH variable so that the path of you libraries is searched by the runtime linker.

    Creating a .deb package is like creating a package for an app store. More complicated, needs to follow certain rules, etc., but makes the app managable through the app store interface.

    Since you seem to be comfortable with the non-app-store/single-installer approach my suggestion would be to go for that.

    Cheers,
    _

  3. The following user says thank you to anda_skoa for this useful post:

    budda (14th September 2013)

  4. #3
    Join Date
    Aug 2008
    Location
    Algarve, Portugal
    Posts
    288
    Thanks
    23
    Thanked 32 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Ubuntu application deployment

    This tutorial is the best I found http://developer.ubuntu.com/packagin...-software.html
    __________________________________________________
    My projects: calculator MathGraphica ; SuperEpicMegaHero game ; GooglePlay ; bitbucket ; github
    Like my projects ? Buy me a kofi

  5. The following user says thank you to john_god for this useful post:

    budda (15th September 2013)

  6. #4
    Join Date
    Mar 2010
    Posts
    86
    Thanks
    11
    Thanked 7 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Ubuntu application deployment

    Thanks for the tips anda_skoa and john_god, going to do both ways

Similar Threads

  1. Qt Application Deployment
    By mukunda in forum Qt Programming
    Replies: 1
    Last Post: 29th June 2011, 02:30
  2. Application deployment on Mac OS X (10.5)
    By ghorwin in forum Installation and Deployment
    Replies: 1
    Last Post: 11th March 2010, 15:38
  3. Replies: 3
    Last Post: 13th October 2009, 16:31
  4. Qt 4.1.3 application Deployment
    By sivaganesan in forum Installation and Deployment
    Replies: 1
    Last Post: 24th July 2008, 18:15
  5. Application deployment problem
    By shapirlex in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 13th April 2007, 01:11

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.