qmlFrontend/main.cpp
author unc0rr
Fri, 19 Sep 2014 14:27:41 +0400
branchqmlfrontend
changeset 10414 50bcefec5bf6
parent 10402 3313336c1ee0
child 10420 02c573d19224
permissions -rw-r--r--
Strip some HWLIBRARY ifdefs

#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();
}