Repository navigation
Conversation
benchoq
force-pushed
the
ben_1117_qtprofiler_support
branch
2 times, most recently
from
November 17, 2026 12:39
12d7ce2 to
0af2c47
Compare
Add a new webview for the Qt Profiler WASM version. This webview wraps the Qt Profiler in a simple Svelte application and is registered as a custom editor for .qtd and .qzt files. The Qt Profiler WASM and its related files are copied from its `dist` to `res/others/qtprofiler` when `npm run compile` runs. QML traces are read by the backend and posted to the Svelte application. The WASM then starts with the data preloaded using the FS module. A loading mask is shown while the trace data loads and the WASM starts. The web app reloads when the color scheme changes to keep it in sync with VS Code. `window.open` is overridden to handle documentation open requests from the Qt Profiler UI. Stdout and stderr are sent to the backend, which writes them to the logger. This commit also adds two configuration items: - `openSourceFile`: decides whether to try to open source files - `additionalBuildDirs`: specifies additional directories to search for source files, in addition to the current workspace. Files are searched when the Qt Profiler emits an event.
benchoq
force-pushed
the
ben_1117_qtprofiler_support
branch
from
November 18, 2026 14:08
0af2c47 to
e137eef
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a new webview for the Qt Profiler WASM version. This webview wraps the Qt Profiler in a simple Svelte application and is registered as a custom editor for .qtd and .qzt files.
QML traces are read by the backend and posted to the Svelte application. The WASM then starts with the data preloaded using the FS module. A loading mask is shown while the trace data loads and the WASM starts.
The web app reloads when the color scheme changes to keep it in sync with VS Code.
window.openis overridden to handle documentation open requests from the Qt Profiler UI.Stdout and stderr are sent to the backend, which writes them to the logger.
This commit also adds two configuration items:
openSourceFile: decides whether to try to open source filesadditionalBuildDirs: specifies additional directories to search for source files, in addition to the current workspace. Files are searched when the Qt Profiler emits an event.