Skip to content

[qtbase] Fix toolchain fixup#46314

Merged
BillyONeal merged 1 commit into
microsoft:masterfrom
dg0yt:qtbase
Jul 8, 2025
Merged

[qtbase] Fix toolchain fixup#46314
BillyONeal merged 1 commit into
microsoft:masterfrom
dg0yt:qtbase

Conversation

@dg0yt
Copy link
Copy Markdown
Contributor

@dg0yt dg0yt commented Jul 7, 2025

Cherry-picked from #46162.

Fixes share/Qt6/qt.toolchain.cmake:

 if(NOT "${QT_CHAINLOAD_TOOLCHAIN_FILE}" STREQUAL "")
-    set(__qt_chainload_toolchain_file "${VCPKG_CHAINLOAD_TOOLCHAIN_FILE}")endif()
+    set(__qt_chainload_toolchain_file "${VCPKG_CHAINLOAD_TOOLCHAIN_FILE}")
+endif()

@BillyONeal BillyONeal enabled auto-merge (squash) July 7, 2025 22:40
@BillyONeal
Copy link
Copy Markdown
Member

Thanks for the fixup!

@BillyONeal BillyONeal merged commit bffcbb7 into microsoft:master Jul 8, 2025
17 of 18 checks passed
@dg0yt dg0yt deleted the qtbase branch July 8, 2025 05:07
talregev pushed a commit to talregev/vcpkg that referenced this pull request Aug 11, 2025
boardend added a commit to boardend/vcpkg that referenced this pull request Feb 27, 2026
The regex replacement for __qt_chainload_toolchain_file placed the
newline inside the closing quote instead of after the closing paren,
causing a literal line break in the filepath. This broke toolchain
chaining for Emscripten/WebAssembly builds where vcpkg chainloads
Qt's toolchain.

Follow up on microsoft#46314
boardend added a commit to boardend/vcpkg that referenced this pull request Feb 27, 2026
The regex replacement for __qt_chainload_toolchain_file placed the
newline inside the closing quote instead of after the closing paren,
causing a literal line break in the filepath. This broke toolchain
chaining for Emscripten/WebAssembly builds where vcpkg chainloads
Qt's toolchain.

Follow up on microsoft#46314
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants