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 like no 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.
_______________________________________________
Qt-qml mailing list
Qt-qml@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to