1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-22 10:42:29 +01:00

Add webengine

This commit is contained in:
kelteseth 2018-09-13 20:23:12 +02:00
parent f58afc43b1
commit 3a06b38b23
2 changed files with 4 additions and 2 deletions

View File

@ -3,14 +3,16 @@
#include <QApplication>
#include <QObject>
#include <QStringList>
#include <QtWebEngine>
int main(int argc, char* argv[])
{
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication::setAttribute(Qt::AA_UseDesktopOpenGL);
QApplication a(argc, argv);
ScreenPlaySDK sdk;
QtWebEngine::initialize();
// 6 parameter + 1 OS working directory default paramter
QStringList argumentList = a.arguments();

View File

@ -1,5 +1,5 @@
TEMPLATE = app
QT += qml quick quickcontrols2 widgets core
QT += qml quick quickcontrols2 widgets core webengine
CONFIG += c++17
CONFIG += qtquickcompiler
msvc: LIBS += -luser32