Results 1 to 3 of 3

Thread: How to deploy my program under linux systems?

  1. #1
    Join Date
    Mar 2014
    Posts
    17
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default How to deploy my program under linux systems?

    Hello everybody,
    i was wondering about how can i deploy my first program under linux based os.
    i found how to slove that on windows. but i don't know how under linux?
    the problem is that i used Qt5 but the majority of linux distros right now support only Qt4.
    how to solve dependencies problem?
    can i build an installation script to do that on the user machine?
    where to put (.so) files?

  2. #2
    Join Date
    May 2012
    Location
    Bangalore, India
    Posts
    271
    Thanks
    29
    Thanked 50 Times in 47 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: How to deploy my program under linux systems?

    For ubuntu 12.04 or above you can easily install the Qt5 using the setup that is provided by the digia. But for other linux distros, you might have to compile the qt from the scratch. If you want the documentation regarding the Qt installation, please go to this link :- http://qt-project.org/wiki/Building_Qt_5_from_Git

    Before compiling please make sure that you have successfully installed all the dependencies.
    Heavy Metal Rules. For those about to rock, we salute you.
    HIT THANKS IF I HELPED.

  3. #3
    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: How to deploy my program under linux systems?

    Quote Originally Posted by Abdeljalil View Post
    i was wondering about how can i deploy my first program under linux based os.
    i found how to slove that on windows. but i don't know how under linux?
    the problem is that i used Qt5 but the majority of linux distros right now support only Qt4.
    how to solve dependencies problem?
    Just like on Windows: ship the needed libraries with the application.

    Quote Originally Posted by Abdeljalil View Post
    can i build an installation script to do that on the user machine?
    Yes. There are even installer builders that can create Windows and Linux installers.

    Quote Originally Posted by Abdeljalil View Post
    where to put (.so) files?
    Almost anywhere you like. Your start script would set the LD_LIBRARY_PATH variable to point to that location and the runtime linker will then search it when looking for the libraries.

    Cheers,
    _

Similar Threads

  1. Replies: 6
    Last Post: 21st August 2013, 06:28
  2. Program crashes on 64-bit systems
    By WereWind in forum Qt Programming
    Replies: 6
    Last Post: 5th February 2013, 11:29
  3. Deploy app in Linux
    By The_Fallen in forum Installation and Deployment
    Replies: 4
    Last Post: 13th October 2010, 16:43
  4. Replies: 1
    Last Post: 14th February 2010, 17:56
  5. Program in Windows, Deploy in Linux
    By suitto in forum Installation and Deployment
    Replies: 1
    Last Post: 8th April 2009, 14:11

Tags for this Thread

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.