From d6761616a09b602d05649413970c3831e8af011a Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Fri, 1 Dec 2023 16:16:56 +0100 Subject: [PATCH] Updated How to debug qt webengine (markdown) --- How-to-debug-qt-webengine.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/How-to-debug-qt-webengine.md b/How-to-debug-qt-webengine.md index 20173e4..f5d7f50 100644 --- a/How-to-debug-qt-webengine.md +++ b/How-to-debug-qt-webengine.md @@ -1,4 +1,10 @@ The desktop client embedded Qt WebEngine module can be remotely access to debug it and use the [chromium devtools](https://doc.qt.io/qt-5.15/qtwebengine-features.html#chromium-devtools). If you run Linux, using our official [Appimage](https://github.com/nextcloud-releases/desktop/releases/latest) package, you can use the following command line: -`QT_QPA_PLATFORM=xcb QTWEBENGINE_REMOTE_DEBUGGING=1081 QTWEBENGINE_CHROMIUM_FLAGS="--webEngineArgs --remote-debugging-port=8081" ./Nextcloud-3.10.1-x86_64.AppImage` +``` +QTWEBENGINE_REMOTE_DEBUGGING=8081 QTWEBENGINE_CHROMIUM_FLAGS="--webEngineArgs --remote-debugging-port=8081" ./Nextcloud-3.10.1-x86_64.AppImage +``` +After that is done and once the client has created the webengine powered web view, you can connect via a chromium based browser by doing this: +``` +chromium http://localhost:8081 +``` \ No newline at end of file