qmlFrontend/main.cpp
author unc0rr
Fri, 12 Sep 2014 00:51:14 +0400
branchqmlfrontend
changeset 10402 3313336c1ee0
child 10420 02c573d19224
permissions -rw-r--r--
Let's get it started

#include <QtGui/QGuiApplication>
#include "qtquick2applicationviewer/qtquick2applicationviewer.h"

#include "hwengine.h"

int main(int argc, char *argv[])
{
    QGuiApplication app(argc, argv);

    HWEngine::exposeToQML();

    QtQuick2ApplicationViewer viewer;
    viewer.setMainQmlFile(QStringLiteral("qml/qmlFrontend/main.qml"));
    viewer.showExpanded();

    return app.exec();
}