PDA

View Full Version : Deployment of Qt Application with QML + QtMultimediaKit fails



the_flow
31st August 2011, 13:11
I developed a Qt application that should play a video, using Qt 4.7, QML and the QtMultimediaKit. My QML files starts with



import Qt 4.7
import QtMultimediaKit 1.1


Now, on my development machine everything works fine, the video plays. But once I want to deploy the application to another system (in my case: a gentoo linux system) the application crashes when loading the according qml file and tells me that the "QtMultimediaKit library" is not installed. But I provided all the library files (including the QtMultimediaKit library) in the program directory. What am I doing wrong?:confused:

wysota
31st August 2011, 13:14
Linux is not Windows. It doesn't look for libraries in application directory.

the_flow
12th September 2011, 12:45
Ok, I fogot to mention, I used the method described in http://doc.qt.nokia.com/4.8/deployment-x11.html (LD_LIBRARY_PATH=...) to point to the directory. The "ldd" comment can resolve all dependencies correctly. However, the program fails to load the qml view :-(