Deployment of Qt Application with QML + QtMultimediaKit fails
I developed a Qt application that should play a video, using Qt 4.7, QML and the QtMultimediaKit. My QML files starts with
Code:
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:
Re: Deployment of Qt Application with QML + QtMultimediaKit fails
Linux is not Windows. It doesn't look for libraries in application directory.
Re: Deployment of Qt Application with QML + QtMultimediaKit fails
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 :-(