mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 12:35:52 +03:00
Updated How to debug qt webengine (markdown)
parent
1fe5d308d4
commit
d6761616a0
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
```
|
Loading…
Reference in a new issue