diff --git a/src/main.cpp b/src/main.cpp index 0ce4600..33a3bb8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -7,6 +7,10 @@ int main(int argc, char *argv[]) { + QApplication::setAttribute(Qt::AA_UseDesktopOpenGL); + //QApplication::setAttribute(Qt::AA_UseOpenGLES); + //QApplication::setAttribute(Qt::AA_UseSoftwareOpenGL); + QApplication a(argc, argv); qputenv("QTSCRCPY_ADB_PATH", "G:\\mygitcode\\QtScrcpy\\src\\adb.exe");