mirror of
https://github.com/ysoftdevs/Testa.git
synced 2026-01-11 14:20:23 +01:00
17 lines
432 B
C++
17 lines
432 B
C++
#include <QApplication>
|
|
|
|
#include "webengineview.h"
|
|
#include "applicationcontroller.h"
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
QCoreApplication::setAttribute(Qt::ApplicationAttribute::AA_EnableHighDpiScaling);
|
|
QApplication a(argc, argv);
|
|
|
|
WebEngineView view;
|
|
ActionReceiver actionReceiver(QUrl("ws://localhost:12345"));
|
|
ApplicationController applicationController(&view, &actionReceiver);
|
|
|
|
return a.exec();
|
|
}
|