[Qt-qml] QML Demo for Customer
Artur Souza (MoRpHeUz)
artur.souza at openbossa.org
Mon Mar 14 15:53:04 CET 2011
Hi,
On Mon, Mar 14, 2011 at 3:15 AM, Vinayakam Murugan <mvinayakam at gmail.com> wrote:
> I need to send a QML PC Demo version for my customer to preview. Is it
> possible to send it packaged such that they don't need to install qtCreator
> . Also is it possible such that the qml viewer isn't viewable by them
You can create your "own" qmlviewer:
-----
#include <QApplication>
#include <QDeclarativeView>
int main(int argc, char* argv[])
{
QApplication app(argc, argv);
QDeclarativeView view;
QUrl url("your_qml_file.qml");
view.setSource(url);
view.show();
return app.exec();
}
---
--
-------------------------------------------------------
Artur Duque de Souza
openBossa
INdT - Instituto Nokia de Tecnologia
-------------------------------------------------------
Blog: http://blog.morpheuz.cc
PGP: 0xDBEEAAC3 @ wwwkeys.pgp.net
-------------------------------------------------------
More information about the Qt-qml
mailing list