2017-03-25 18:44:26 +01:00
|
|
|
|
#include <QGuiApplication>
|
|
|
|
|
#include <QQmlApplicationEngine>
|
|
|
|
|
#include <qt_windows.h>
|
|
|
|
|
#include <QWindow>
|
|
|
|
|
#include <QQuickView>
|
2017-03-26 13:12:32 +02:00
|
|
|
|
#include <QLibrary>
|
2017-03-27 15:38:25 +02:00
|
|
|
|
#include <QScreen>
|
|
|
|
|
#include <QDebug>
|
|
|
|
|
#include <QDir>
|
|
|
|
|
#include <QUrl>
|
2017-03-26 13:12:32 +02:00
|
|
|
|
#include "screenplay.h"
|
2017-03-27 15:38:25 +02:00
|
|
|
|
//#include "steam_api.h"
|
|
|
|
|
//#include "steamworkshop.h"
|
2017-03-25 18:44:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
|
{
|
|
|
|
|
QGuiApplication app(argc, argv);
|
|
|
|
|
|
2017-03-26 13:12:32 +02:00
|
|
|
|
|
2017-03-27 15:38:25 +02:00
|
|
|
|
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
|
|
|
|
|
|
|
|
|
// if(!SteamAPI_Init()){
|
|
|
|
|
// qFatal("Could not init Steam sdk!");
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QQmlApplicationEngine mainWindow(QUrl(QStringLiteral("qrc:/qml/main.qml")));
|
|
|
|
|
|
|
|
|
|
//ScreenPlay sp(GetSystemMetrics(SM_CXSCREEN),GetSystemMetrics(SM_CYSCREEN));
|
|
|
|
|
|
2017-03-25 18:44:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return app.exec();
|
|
|
|
|
|
|
|
|
|
}
|