Results 1 to 3 of 3

Thread: Deployment of Qt Application with QML + QtMultimediaKit fails

  1. #1
    Join Date
    Mar 2010
    Posts
    7
    Thanks
    1
    Qt products
    Qt4

    Question 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

    Qt Code:
    1. import Qt 4.7
    2. import QtMultimediaKit 1.1
    To copy to clipboard, switch view to plain text mode 

    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?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,364
    Thanks
    3
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Deployment of Qt Application with QML + QtMultimediaKit fails

    Linux is not Windows. It doesn't look for libraries in application directory.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Mar 2010
    Posts
    7
    Thanks
    1
    Qt products
    Qt4

    Default 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 :-(

Similar Threads

  1. QtMultimediaKit
    By nitish in forum Qt Quick
    Replies: 7
    Last Post: 5th September 2011, 14:03
  2. Qt Application Deployment
    By mukunda in forum Qt Programming
    Replies: 1
    Last Post: 29th June 2011, 01:30
  3. Application deployment on Mac OS X (10.5)
    By ghorwin in forum Installation and Deployment
    Replies: 1
    Last Post: 11th March 2010, 14:38
  4. Qt 4.1.3 application Deployment
    By sivaganesan in forum Installation and Deployment
    Replies: 1
    Last Post: 24th July 2008, 17:15
  5. qt application deployment issue?
    By vishal.chauhan in forum Installation and Deployment
    Replies: 0
    Last Post: 1st May 2007, 06:09

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.