Fix remote debugging

This commit is contained in:
Andrew Rabert committed 2025-11-29 21:31:58 -05:00
1 parent 0d18af84c6
commit 641f6ca079
1 file changed
+2
+2
View File
@@ -234,6 +234,8 @@ int main(int argc, char *argv[])
// Disable QtWebEngine's automatic MPRIS registration - we handle it ourselves
qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--disable-features=MediaSessionService,HardwareMediaKeyHandling");
#endif
if (parser.isSet("remote-debugging-port"))
qputenv("QTWEBENGINE_REMOTE_DEBUGGING", parser.value("remote-debugging-port").toUtf8());
QtWebEngineQuick::initialize();
QApplication app(newArgc, newArgv);