mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-22 10:42:29 +01:00
Add webengine
This commit is contained in:
parent
f58afc43b1
commit
3a06b38b23
@ -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();
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user