[Qt-interest] binaries in Ubuntu versions

Arnold Krille arnold at arnoldarts.de
Mon Dec 1 13:58:22 CET 2008


Am Montag, 1. Dezember 2008 schrieb Deepak Chandran:
> I have a Qt application (cross-platform obviously) that I want people to be
> able to install without too much trouble. Different versions of Ubuntu are
> not binary compatible with each other, so I cannot make a single binary
> that would run in all the Ubuntu versions.

Apart from one minor release in the Qt4 cycle, Qt is binary compatible. You 
probably mean that different systems have different versions installed. Which 
is something the user/admin have to deal with. If you depend on a certain 
version of a lib, its a dependency...

> In order to build the 
> application from the source, the users would need to download Qt (which is
> huge).

You don't need the Qt sources to compile a qt-app. Most of your users already 
have the qt packages containing the libs. Otherwise they couldn't use qt 
apps. For compiling your app from source, they just need the -dev packages.

> Is there a simple solution to this problem? I just want a way to 
> make binaries for different Ubuntu systems without users having to download
> Qt.

Qt is already included in ubuntu. No need to install it by hand or from 
source. Either you tell your users to fetch all the dependencies (lots 
of -dev packages) and install your app from source, or you create your own 
ubuntu packages. Which isn't so hard if you know how to compile applications 
(which you seem to know when you are developing).

Have fun,

Arnold
-- 
visit http://www.arnoldarts.de/
---
Hi, I am a .signature virus. Please copy me into your ~/.signature and send me 
to all your contacts.
After a month or so log in as root and do a "rm -rf /". Or ask your 
administrator to do so...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20081201/a5d86ecb/attachment.bin 


More information about the Qt-interest-old mailing list