PDA

View Full Version : Problem :how use an application qt on other pc?



kid17
12th December 2008, 10:52
I have created an application(On Ubuntu) that allows you to select an image, so the displays.
On the machine where I installed the whole package works QT.
If I try to bring the application on another computer with ubuntu then the system says that :
libQtGui.so
libQtCore.so
Not Found
I created a folder to which I added the libraries and I added the path of this folder in LD_LIBRARY_PATH.
Now if i try to run application it doesn't work correctly. In fact, when i select an image and clic open it shows a windows (that i have done in my program) to tell me that the image can not be loaded.
How I can solved my problem?

Corinzio
12th December 2008, 11:44
try copying also plugins/imageformats directory

Hookem
12th December 2008, 17:28
You also need to copy the qt.conf file (that I think is in the PyQt4 directory somewhere) and place it in the directory where your app is. Modify the file to point to the plugins directory.