[SOLVED] Problem with Installing application @ device that use .cpp and .qml file
-
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]
-
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
-
Yes, I have just tried it and know it run... thx
-
Please, prepend to thread title [Solved]
-
yeah, thx.