|
|
|
|
@ -15,8 +15,10 @@ int main(int argc, char *argv[])
|
|
|
|
|
Decoder::init();
|
|
|
|
|
QApplication a(argc, argv);
|
|
|
|
|
|
|
|
|
|
//qputenv("QTSCRCPY_ADB_PATH", "G:\\mygitcode\\QtScrcpy\\src\\adb.exe");
|
|
|
|
|
//qputenv("QTSCRCPY_SERVER_PATH", "G:\\mygitcode\\QtScrcpy\\src\\scrcpy-server.jar");
|
|
|
|
|
#ifdef Q_OS_WIN32
|
|
|
|
|
qputenv("QTSCRCPY_ADB_PATH", "..\\..\\..\\third_party\\adb\\adb.exe");
|
|
|
|
|
qputenv("QTSCRCPY_SERVER_PATH", "..\\..\\..\\third_party\\scrcpy-server.jar");
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
//加载样式表
|
|
|
|
|
QFile file(":/res/psblack.css");
|
|
|
|
|
|