[Qt-interest] How to port a application to another system

Raja Sekharan websweetweb at gmail.com
Sun May 10 10:35:55 CEST 2009


I had the same question a long time ago. You don't need Qt to be
installed in another system for your qt applications to work on another
computer.

Type :

ldd ./executable

Of the list of .so files, look for the ones that go to the Qt directory.

Mine reads like this:

	libQtWebKit.so.4 => /opt/qtsdk-2009.01/qt/lib/libQtWebKit.so.4 
	libQtNetwork.so.4 => /opt/qtsdk-2009.01/qt/lib/libQtNetwork.so.4 
	libQtXml.so.4 => /opt/qtsdk-2009.01/qt/lib/libQtXml.so.4 
	libQtGui.so.4 => /opt/qtsdk-2009.01/qt/lib/libQtGui.so.4 
...
...
	libQtCore.so.4 => /opt/qtsdk-2009.01/qt/lib/libQtCore.so.4 
....


You just have to put these files in the same directory as the
executable's directory and run the executable in the other computer. 

Raj




More information about the Qt-interest-old mailing list