2013-11-25 19:03:06 +01:00
|
|
|
/*
|
|
|
|
* \brief QtQuick 'samegame' example
|
|
|
|
* \author Christian Prochaska
|
|
|
|
* \date 2013-11-26
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <QGuiApplication>
|
|
|
|
#include <QQuickView>
|
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
|
|
|
QGuiApplication app(argc, argv);
|
|
|
|
|
|
|
|
QQuickView view;
|
2014-08-12 18:08:06 +02:00
|
|
|
view.setSource(QUrl("/samegame.qml"));
|
2013-11-25 19:03:06 +01:00
|
|
|
view.show();
|
|
|
|
|
|
|
|
return app.exec();
|
|
|
|
}
|