[Qt-qml] Qml Application Deployment - What needs to be deployed to support QML image formats?
Jason H
scorp1us at yahoo.com
Thu Aug 26 17:26:34 CEST 2010
use the Depends tool (google it) to see what DLLs it needs and Filemon to see
how it resolves the DLLs.
________________________________
From: "Robinson, David" <David.Robinson at anite.com>
To: qt-qml at trolltech.com
Sent: Thu, August 26, 2010 6:37:54 AM
Subject: [Qt-qml] Qml Application Deployment - What needs to be deployed to
support QML image formats?
I’m testing QML application deployment to a Windows PC where no Qt software has
previously been installed to see what’s involved.
I have a C++ application that creates a QDeclarativeView and loads a QML local
file. The QML local file happens to be the flickr example with some added
multimedia support using the Qt mobility API.
The application runs & locates the imports & plugins required but something
relating to image format support is still missing. The following is a summary of
the configuration so far for anyone attempting the same: -
1. Qt dll’s needed are local to the exe.
2. QML components are located in a directory tree relative to the QML
local file
3. Declarative Imports are located in a directory tree structure relative
to the exe eg Qt/Multimedia etc
4. Backends are located in a ‘plugins’ directory tree relative to the
environment variable QTDIR. This resolves errors likeno service found for -
"com.nokia.qt.mediaplayer" etc
5. The exe install directory has been added to the path so that imports
built on Qt dll’s can find their dependencies. (I can’t see any alternative
except dll duplication for each import dll & that’s worse!).
Now when the app runs the QML is loaded the multimedia import is located & the
backends are found but even though I have included the imports for
‘imageformats’, I get ‘image format unsupported’ errors for all jpg images when
the QML loads the RssModel delegates.
Does anybody know what needs to be deployed to support QML jpg image formats?
Regards
David Robinsion
Please refer to www.anite.com for individual Anite company details. The contents
of this e-mail and any attachments are for the intended recipient only. If you
are not the intended recipient, you are not authorised to and must not disclose,
copy, distribute, or retain this message or any part of it. It may contain
information which is confidential and/or covered by legal professional or other
privilege. Contracts cannot be concluded with us nor legal service effected by
email.
Anite plc
Registered in England No.1798114
Registered Office: 353 Buckingham Avenue Slough Berks SL1 4PF United Kingdom
VAT Registration No. GB 787 418187
Scanned for viruses by Mimecast.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100826/af4d9e36/attachment.html
More information about the Qt-qml
mailing list