You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
VideoClient98/src/main.cpp

18 lines
450 B
C++

#include <QApplication>
// #include <QWebEngineView>
#include "mainwindow.h"
int main(int argc, char *argv[]) {
QGuiApplication::setAttribute(Qt::AA_DontCreateNativeWidgetSiblings);
QApplication::setAttribute(Qt::AA_UseDesktopOpenGL);
// QApplication::setAttribute(Qt::AA_UseOpenGLES);
// QApplication::setAttribute(Qt::AA_UseSoftwareOpenGL);
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}