Skip to content

ci: keep workflow Qt-only and bump to 6.6.1 - #65

Open
edmc25 wants to merge 12 commits into
mainfrom
chore/ci-qt-6.6.1-only
Open

ci: keep workflow Qt-only and bump to 6.6.1#65
edmc25 wants to merge 12 commits into
mainfrom
chore/ci-qt-6.6.1-only

Conversation

@edmc25

@edmc25 edmc25 commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
edmc25 and others added 11 commits August 11, 2026 11:07
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Set CMAKE_BUILD_TYPE=Debug for both Linux and Windows builds, deploy
debug Qt DLLs via windeployqt --debug, and pin aqtversion to 3.3.0 in
the Windows jurplel/install-qt-action step to match the Linux job.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The aqt win64_mingw Qt 6.6.1 kit only ships Release Qt binaries (no
debug platform plugin), so windeployqt --debug failed with "Unable to
find the platform plugin" once XilEnvGui.exe was built with debug
info. Force --release deployment instead; MinGW has no debug/release
CRT ABI split, so a Debug app linking Release Qt DLLs is safe.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Local gdb run of the CI-built XilEnvGui.exe hit a heap corruption
(RtlFreeHeap invalid address) that the debugger only caught at the
free() site, not the actual corrupting write. Compile the Windows
Debug build with -fsanitize=address so the CI test run (and any
locally downloaded artifact, given a matching libasan runtime)
reports the exact location of the memory bug instead.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The win32-thread-model niXman MinGW-w64 14.2.0 build doesn't ship
libasan, so the -fsanitize=address Debug build failed to link
("cannot find -lasan"). AddressSanitizer requires the posix-thread
variant, so switch the download to
x86_64-14.2.0-release-posix-seh-ucrt-rt_v12-rev2.7z.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The app was compiled with niXman MinGW-w64 GCC 14.2.0 (UCRT), while
the Qt 6.6.1 win64_mingw binaries from aqt are prebuilt with GCC
11.2.0 (posix, SEH, msvcrt) -- confirmed via the aqt install log's
"MinGW-w64-x86_64-11.2.0-release-posix-seh-rt_v9-rev1-runtime.7z".
Mixing UCRT and msvcrt across the app/Qt DLL boundary is a known
cause of heap corruption (separate CRT heaps), matching the
RtlFreeHeap crash seen when debugging XilEnvGui.exe locally. Switch
to the matching x86_64-11.2.0-release-posix-seh-rt_v9-rev1 toolchain.

Also revert the -fsanitize=address flags added earlier for the ASan
attempt -- these niXman builds don't ship libasan, so the build
couldn't link. Dropping that approach in favor of the toolchain fix.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- Download and build Qt 6.6.1 (qtbase) with SVG submodule from source
- Use Release build only for faster CI
- Set up MinGW and Qt paths properly for CMake configuration
- Pass explicit Qt6_DIR to OpenXilEnv CMake build

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Remove incorrect qtsvg submodule initialization from qtbase
- Clone qtsvg repository separately at v6.1.1
- Configure, build, and install qtsvg against Qt 6.6.1 prefix

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Upgrade niXman MinGW from 11.2.0 to 14.2.0-rt_v12-rev2 (UCRT) to
  match recommended toolchain in WINDOWS_DEPENDENCIES.md
- Remove explicit CMAKE_BUILD_TYPE=Debug from Linux build
- Add --parallel to Windows OpenXilEnv cmake build step

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
windres.exe fails to handle the space in 'C:\Program Files\PostgreSQL\...'
path. Disable the psql feature since OpenXilEnv does not need it.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Replace qtsvg v6.1.1 with v6.6.1 in Windows workflow
- Update qtsvg build step names and source path accordingly
- Fix configure failure caused by Qt module/base version mismatch

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant