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? :confused:
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.
Re: How to deploy my program under linux systems?
Quote:
Originally Posted by
Abdeljalil
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
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
where to put (.so) files? :confused:
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,
_