[qt/qt-creator/qt-creator]: Summary of bulk changes made
KDE Git Services - Bulk Change <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git repository change summary for qt/qt-creator/qt-creator Pushed by mirror-service into branch 'master'. Changed from 1f82c5e1dd1b5596b4a02fb9135fa2378fd05857 to 70717513a205bf994091efd441ba5c3f2b11e63e Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository. This change contains the following new commits: Git commit d55334ec01a8fd09e39ad5711a55d3e1f82e901f by hjk on 18/08/2026 at 12:27.. HarmonyOS: Detect connected devices automatically A device only appeared when it was added by hand from the Devices page. hdc has no device-tracking stream to listen to, so ask it every few seconds while an SDK is configured. Devices that went away stay in the list, so that kits and run configurations keep pointing at them. Assisted-by: Claude Code Change-Id: I04eaf679a46bda7b8b8e677192d975bb9747bf0c Reviewed-by: Joerg Bornemann <[email protected]> https://invent.kde.org/qt/qt-creator/qt-creator/-/commit/d55334ec01a8fd09e39ad5711a55d3e1f82e901f Git commit 8a4aedc4388325eb8f7b50de5d77bbd796f08a79 by hjk on 18/08/2026 at 12:27.. HarmonyOS: Judge the package installation by hdc's output hdc exits successfully even when it installed nothing, so a rejected package looked like a successful deployment. Say so as well when the package was not built at all. Assisted-by: Claude Code Change-Id: Id284e6497c04378da308fabac46c3531192a552f Reviewed-by: Joerg Bornemann <[email protected]> https://invent.kde.org/qt/qt-creator/qt-creator/-/commit/8a4aedc4388325eb8f7b50de5d77bbd796f08a79 Git commit a2186af4513c37425c4c93660b6bb6b01bd60c23 by David Schulz on 18/08/2026 at 12:35.. DiffEditor: Polish the inline diff collapse Fix an off-by-one in the baseline mapping guard: the placeholder anchors on the line after the collapsed run, so the run must end before the baseline's last line. With the old bound the anchor was invalid, the QTC_ASSERT in makePlaceholder() fired, and the editor side collapsed alone. Skip a run entirely when the baseline placeholder cannot be staged: hidden blocks report zero height on one side only, the aligner has nothing to pad with, and the side by side rows drift apart. Both failure paths in makePlaceholder() return before hiding anything, so skipping leaves the run cleanly expanded on both sides. Draw the placeholder text left aligned instead of centered, and let the autotest find the collapse toggle by object name instead of "first checkable action", which would silently break with the next checkable toolbar action. Also document that the fragment recycling heuristic checks only the anchor blocks - a deliberately accepted, self-healing window. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Change-Id: I85d14d0c2d11b2efb981d80a20b1d83a906e5727 Reviewed-by: Marcus Tillmanns <[email protected]> https://invent.kde.org/qt/qt-creator/qt-creator/-/commit/a2186af4513c37425c4c93660b6bb6b01bd60c23 Git commit 37a2c59ac0740bb24a0b392af4c28cdd53331529 by hjk on 18/08/2026 at 12:47.. HarmonyOS: Find hvigor next to a configured "sdk" directory hvigor and the bundled Node.js sit beside the "sdk" folder, which a configured SDK root may well point at directly. The native SDK is found either way, so the setup looks complete, but harmonydeployqt then gets no hvigor and quietly skips building the package. Assisted-by: Claude Code Change-Id: I5409cdb4b15e887e7fc40ec871a5503fddfbeb73 Reviewed-by: Christian Stenger <[email protected]> https://invent.kde.org/qt/qt-creator/qt-creator/-/commit/37a2c59ac0740bb24a0b392af4c28cdd53331529 Git commit 909b2691d6f6bb10558f8e3970b24f333cab54b9 by hjk on 18/08/2026 at 12:50.. HarmonyOS: Configure package signing in the preferences Signing material could only come from a project that DevEco Studio had set up for automatic signing, leaving no way to use material issued for the developer account by other means. The passwords go to the keychain through SecretAspect, whose entry needs an explicit service and key: a settings key without a '.' cannot be split into the two, and the keychain access then fails. Assisted-by: Claude Code Change-Id: I2a5b20f91442ae80856ffd4cfc95a435c31cd6d2 Reviewed-by: Christian Stenger <[email protected]> https://invent.kde.org/qt/qt-creator/qt-creator/-/commit/909b2691d6f6bb10558f8e3970b24f333cab54b9 Git commit 25dbf16a83003cebe5f64d98222a56f694905c69 by hjk on 18/08/2026 at 12:58.. HarmonyOS: Log what the automatic kits are made of When no kit appears there is nothing to look at: the Qt version may have no ABI, or no toolchain bundle may match the one it has. Assisted-by: Claude Code Change-Id: Id6d597bedd51002e80a666a7b36198dc7545314b Reviewed-by: Joerg Bornemann <[email protected]> https://invent.kde.org/qt/qt-creator/qt-creator/-/commit/25dbf16a83003cebe5f64d98222a56f694905c69 Git commit a3970ef4d44fd73308c8e70ce6659af8d48a64c5 by hjk on 18/08/2026 at 12:59.. HarmonyOS: Locate hap-sign-tool in the SDK Assisted-by: Claude Code Change-Id: I9ecfe426c9a735fd52011cf79499774157351536 Reviewed-by: Joerg Bornemann <[email protected]> https://invent.kde.org/qt/qt-creator/qt-creator/-/commit/a3970ef4d44fd73308c8e70ce6659af8d48a64c5 Git commit 030c71aedd72243aa30535180ed7afa1376be620 by hjk on 18/08/2026 at 13:01.. HarmonyOS: Add the settings the deployment workarounds need Three knobs for what Qt's HarmonyOS deployment cannot do for itself yet: the directory holding the third-party libraries Qt needs at run time (QTBUG-149205), and the permissions to drop from a package because a debug provisioning profile grants none that need an ACL - a device refuses to install a package that asks for one. Nothing is dropped by default, and what goes is named in the build log. Assisted-by: Claude Code Change-Id: I33f17c9a3b986136f1ffe0d232736e2374af7239 Reviewed-by: Joerg Bornemann <[email protected]> https://invent.kde.org/qt/qt-creator/qt-creator/-/commit/030c71aedd72243aa30535180ed7afa1376be620 Git commit 4306131f308f4af7bba438ed6010c286af322a7a by hjk on 18/08/2026 at 13:01.. HarmonyOS: Package and sign the application in Qt Creator Deploying to a device did not work with material issued anywhere but in DevEco Studio, and not at all for an application that needs more than the Qt libraries. Rather than wait for harmonydeployqt, do the two steps here: make hap generate the project, nothing else package add the run-time libraries, then run hvigor sign hap-sign-tool, with the configured material install hdc harmonydeployqt is asked to generate only, since the packaging and signing it delegates to hvigor are what does not work (QTBUG-149205, QTBUG-149206). The built package is taken out of the generated project, which the next generation replaces wholesale. The signing passwords come from the keychain or, for a build without one, from the environment. Assisted-by: Claude Code Change-Id: Id5315349f423881d41c50f5572f321fc5768ee28 Reviewed-by: Joerg Bornemann <[email protected]> https://invent.kde.org/qt/qt-creator/qt-creator/-/commit/4306131f308f4af7bba438ed6010c286af322a7a Git commit b0586f3733fd8bbe66ba64ec0a40b30bbba9383f by hjk on 18/08/2026 at 13:01.. HarmonyOS: Make a kit from the Qt the installer registers The Qt online installer registers Qt for HarmonyOS as a Desktop version (QTCREATORBUG-34793) that reports no ABI at all, because the metadata the ABI would come from is empty. Nothing then pairs it with a toolchain, so linking with Qt yields kits for every other target but this one. Recognize it by its ohos mkspec, and take the ABI from the architecture of the Qt libraries themselves, which can only be for the one OS. Assisted-by: Claude Code Change-Id: Ic12fb9a38bdda0d4e0f267349f27794ee8cc4337 Reviewed-by: Joerg Bornemann <[email protected]> https://invent.kde.org/qt/qt-creator/qt-creator/-/commit/b0586f3733fd8bbe66ba64ec0a40b30bbba9383f Git commit e765b0604367350f2cd0b2ff5c95668c3768e6a5 by hjk on 18/08/2026 at 13:01.. HarmonyOS: Take the bundle name and the permissions from the profile A package installs only under the bundle name its provisioning profile is for, and only if it asks for no permission the profile does not allow - so both were things to set by hand and get wrong. The profile knows them: it is a PKCS#7 file whose signed content is plain JSON, which can be read without touching the signature. Package under the bundle name from the profile, and drop the permissions Qt asks for that need an ACL the profile does not grant. Both are reported in the build log, since neither is what the project asked for. Assisted-by: Claude Code Change-Id: I6e2092456444e92fcdde4dbc71b6ecce501604f8 Reviewed-by: Joerg Bornemann <[email protected]> https://invent.kde.org/qt/qt-creator/qt-creator/-/commit/e765b0604367350f2cd0b2ff5c95668c3768e6a5 Git commit fa75ccb7eb351655bdf8db23d40cca8055961a70 by hjk on 18/08/2026 at 13:05.. Remote: Make the Windows device detection test wait for the compilers The test picked the first of the device's kits, whichever that happened to be, and an MSVC toolchain fills in its compiler command only after its vcvars environment capture finishes - later than the kit itself appears. Configuring with an unresolved one produced an empty -DCMAKE_CXX_COMPILER, so CMake answered "No CMAKE_CXX_COMPILER could be found" and the test failed whenever the not-yet-resolved kit came first. Wait for both compiler commands instead; the MSVC branch checked only vcvars.bat, which let the empty command through. Restore the hard check on Qt attachment as well: kit creation now waits for the tool detection tasks, the Qt search among them, so a kit that exists has its Qt version, and the check no longer needs to be a warning. Assisted-by: Claude Code Change-Id: I025c88d39a4c4eb3e919e1bf99e4daadbfde2d46 Reviewed-by: David Schulz <[email protected]> https://invent.kde.org/qt/qt-creator/qt-creator/-/commit/fa75ccb7eb351655bdf8db23d40cca8055961a70 Git commit 513078a09b5199f6acac7a27a2e15f3584f2d523 by hjk on 18/08/2026 at 13:08.. Debugger: Complete the BridgeEngine views and run control Registers, memory, disassembly, jump-to-line, run-to-function and watchpoints all go through native qtc/ requests that drive gdb's Python API on the bridge side, and the matching capabilities are advertised. Two of them are not straightforward. Interrupt cannot use DAP 'pause': the bridge server is synchronous and blocks in gdb.execute() while the inferior runs, so it never gets to service the request. The gdb process is signalled instead, as interactive Ctrl-C does, and the resulting 'stopped' event drives the state change. Jump-to-line only sets $pc, without resuming, which is Qt Creator's semantics, so the engine stays stopped and refreshes the views in place. Memory and disassembly reads are correlated back to the requesting agent via an echoed token. Assisted-by: Claude Code Change-Id: I9050d5d11ac9642a0dfc26bdb24f50013d93470c Reviewed-by: Christian Stenger <[email protected]> https://invent.kde.org/qt/qt-creator/qt-creator/-/commit/513078a09b5199f6acac7a27a2e15f3584f2d523 Git commit 87b2d1b95ac403036479b597cecb6cf627e533f4 by Christian Stenger on 18/08/2026 at 13:25.. Debugger: Do not accidently delete agents on fail Failed requests do not carry token, so toInt() would resolve to 0 and delete the memory agent and disassembler agent corresponding to the first memory read or disassembly of a session. Amends 513078a09b5199f6acac7a27a2e15f3584f2d523. Change-Id: I84e14fbe09e765fe002c1b9dbdcfae47a7e5ee9a Reviewed-by: hjk <[email protected]> https://invent.kde.org/qt/qt-creator/qt-creator/-/commit/87b2d1b95ac403036479b597cecb6cf627e533f4 Git commit 2c9599c96e57c314e5740956761eaa6297f07565 by hjk on 18/08/2026 at 13:28.. ProjectExplorer: Make activating a kit more discoverable Now that a kit is activated by double-click rather than single-click, add a "Set as Active Kit" context menu entry and, on an enabled but inactive kit, a "Double-click to make active" tooltip hint, so the action can be found without knowing about the double-click. Assisted-by: Claude Code Task-number: QTCREATORBUG-31233 Change-Id: Ia5034adc726788f7c1cd8b5151cf9712e64cd5db Reviewed-by: Eike Ziller <[email protected]> https://invent.kde.org/qt/qt-creator/qt-creator/-/commit/2c9599c96e57c314e5740956761eaa6297f07565 Git commit bab2dee73fa2154010763d2e82f05d865c32c39d by Eike Ziller on 18/08/2026 at 14:00.. MarkdownBrowser: Improve scroll wheel zooming Show indicator when zooming with mouse wheel and keep the scroll position as much as possible and zoom in 10% steps, like the text editors and the help viewer. For that remember the original font size and current scale and add a setScale method for future use. Also use the actual scale for the post processing of the text document. This was wrongly using a scale based on the application font versus the browser font even though the default font (scale=1) of the browser was not the application font. Also add a property that enables/disables the mouse wheel zooming, which was previously unconditionally done by QTextBrowser. That implicitly removes the weird individual mouse wheel zooming of items in the ACP chat view. (To be followed up.) Change-Id: I79e0548580211d683d687a691e83e318e6143175 Reviewed-by: Marcus Tillmanns <[email protected]> https://invent.kde.org/qt/qt-creator/qt-creator/-/commit/bab2dee73fa2154010763d2e82f05d865c32c39d Git commit 70717513a205bf994091efd441ba5c3f2b11e63e by hjk on 18/08/2026 at 14:06.. Core: Trim the heap only where malloc_trim() exists The periodic trim is there because glibc may hold on to freed memory, but it was guarded by Q_OS_LINUX. HarmonyOS is a Linux with musl, which has no malloc_trim(), so the build failed on it. Key on the library instead. Assisted-by: Claude Code Change-Id: I86dcf47f75d7bab31cb8910c8924b211df1a88c2 Reviewed-by: Eike Ziller <[email protected]> https://invent.kde.org/qt/qt-creator/qt-creator/-/commit/70717513a205bf994091efd441ba5c3f2b11e63e