/*
* Copyright 2012 Ruediger Gad
*
* This file is part of QZeeControl.
*
* QZeeControl is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* QZeeControl is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with QZeeControl. If not, see .
*/
#include
#include
#include "qmlapplicationviewer.h"
#include "btconnector.h"
#include "xtstadapter.h"
Q_DECL_EXPORT int main(int argc, char *argv[])
{
QScopedPointer app(createApplication(argc, argv));
qmlRegisterType("qzeecontrol", 1, 0, "BtConnector");
qmlRegisterType("qzeecontrol", 1, 0, "XtstAdapter");
QmlApplicationViewer viewer;
viewer.setOrientation(QmlApplicationViewer::ScreenOrientationAuto);
viewer.setMainQmlFile(QLatin1String("qml/QZeeControl/main.qml"));
viewer.showExpanded();
return app->exec();
}