[SOLVED] Problem with Installing application @ device that use .cpp and .qml file
-
wrote on 15 Sept 2011, 04:37 last edited by
Hi, I'm in process of trying app in device. This app using .qml file for show images that downloaded from ftp but I'm confused about how to bring .qml file while installing application. Because the problem is in the .qml file that cannot be used after installing application.
Thanks for your help.[Alicemirror: this questions regards installation and deployment instead this forum section. I'll move it there]
-
wrote on 15 Sept 2011, 05:46 last edited by
I can`t understand your question. Why .qml file cannot be used after installation? Does file should be changed somehow or it is not installed?
If it is he first variant you can use C++ to generate QByteArray with the QML code and use "void QDeclarativeComponent::setData ( const QByteArray & data, const QUrl & url )":http://doc.qt.nokia.com/4.7-snapshot/qdeclarativecomponent.html#setData to load that code.
If it is second variant you can use "resource file":http://doc.qt.nokia.com/latest/resources.html
-
wrote on 15 Sept 2011, 08:34 last edited by
Yes, I have just tried it and know it run... thx
-
wrote on 15 Sept 2011, 08:51 last edited by
Please, prepend to thread title [Solved]
-
wrote on 16 Sept 2011, 04:14 last edited by
yeah, thx.
1/5