From 95fb02916cfaa7b96814d95786e68eca36205f5a Mon Sep 17 00:00:00 2001 From: Eric Gregory Date: Wed, 25 Feb 2026 08:57:42 -0800 Subject: [PATCH] Update dev README with QML logging instructions (#1161) Added instructions for enabling QML logging in the README. --- dev/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dev/README.md b/dev/README.md index d5079ab..033d212 100644 --- a/dev/README.md +++ b/dev/README.md @@ -17,3 +17,11 @@ To get browser devtools, use remote debugging: 1. Run with `--remote-debugging-port=9222` 2. Open Chromium/Chrome and navigate to `chrome://inspect/#devices` 3. Make sure "Discover Network Targets" is checked and `localhost:9222` is configured + +## QML Logging + +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: + +`--log-level debug` + +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.