Skip to content
This repository was archived by the owner on Mar 28, 2026. It is now read-only.

Commit 95fb029

Browse files
authored
Update dev README with QML logging instructions (#1161)
Added instructions for enabling QML logging in the README.
1 parent 2bc0c4f commit 95fb029

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

dev/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,11 @@ To get browser devtools, use remote debugging:
1717
1. Run with `--remote-debugging-port=9222`
1818
2. Open Chromium/Chrome and navigate to `chrome://inspect/#devices`
1919
3. Make sure "Discover Network Targets" is checked and `localhost:9222` is configured
20+
21+
## QML Logging
22+
23+
The `console.log()` statements in QML are not printed to the console by default. The simplest workaround for this is to add the following command line argument:
24+
25+
`--log-level debug`
26+
27+
For Qt Creator users, click Projects in the left sidebar, select the "Run Settings" tab, and paste that into the "Command line arguments" text field.

0 commit comments

Comments
 (0)