1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-07 03:22:33 +01:00
ScreenPlay/main.cpp

39 lines
716 B
C++
Raw Normal View History

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>
#include <QScreen>
#include <QDebug>
#include <QDir>
#include <QUrl>
2017-03-26 13:12:32 +02:00
#include "screenplay.h"
//#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
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();
}