views:

85

answers:

2

Hi,

I have created a Qt GUI application and I want to provide a linux executable that runs on as many distributions as possible. Is this possible or do I have to provide a separate executable for each distribution?

Thanks for your help

+1  A: 

Take a look at LSB. It is a standard which many distributions follow to allow an application compliant with the LSB to run on any of them. That should be a good start. If your app is LSB compliant, there really isn't much more that you can do.

Gianni
A: 

Statically linking your Qt libraries into your executable will increase your distributable size, but you will not have to worry about having the proper Qt libraries installed.

Take a look at the documentation here: http://doc.trolltech.com/4.6/deployment-x11.html#static-linking

Hope this helps.

Chris