Skip to content

Port to Qt6 and modernize release builds - #22

Merged
digarok merged 4 commits into
masterfrom
qt6-port
Jul 23, 2026
Merged

Port to Qt6 and modernize release builds#22
digarok merged 4 commits into
masterfrom
qt6-port

Conversation

@digarok

@digarok digarok commented Jul 23, 2026

Copy link
Copy Markdown
Owner
  • Replace removed QRegExp with QRegularExpression
  • Use value-returning QLabel::pixmap() (Qt6 dropped the pointer form)
  • endl -> Qt::endl; drop AA_EnableHighDpiScaling (always on in Qt6)
  • buckshot.pro: require C++17, drop macOS 10.8 target, scope -no-pie to Linux
  • CI: current runners, install-qt-action@v4 (Qt 6.8 LTS), checkout@v4, softprops/action-gh-release@v2 instead of deprecated release actions
  • package_linux.sh: linuxdeployqt continuous build with new-glibc/no-FUSE flags, add libxcb-cursor0 runtime dep for Qt6 xcb

digarok and others added 4 commits July 22, 2026 17:35
- Replace removed QRegExp with QRegularExpression
- Use value-returning QLabel::pixmap() (Qt6 dropped the pointer form)
- endl -> Qt::endl; drop AA_EnableHighDpiScaling (always on in Qt6)
- buckshot.pro: require C++17, drop macOS 10.8 target, scope -no-pie to Linux
- CI: current runners, install-qt-action@v4 (Qt 6.8 LTS), checkout@v4,
  softprops/action-gh-release@v2 instead of deprecated release actions
- package_linux.sh: linuxdeployqt continuous build with new-glibc/no-FUSE
  flags, add libxcb-cursor0 runtime dep for Qt6 xcb

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Qt 6.8.3 fails to compile under Apple Clang 17 (implicit __yield in
qyieldcpu.h, QTBUG-135402); the fix is only in patch releases not
available via aqtinstall. Qt 6.11 also matches local development.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Qt changed the Windows repo layout starting with 6.11 (per-toolchain
subdirs like qt6_6111_msvc2022_64), which no released aqtinstall
understands yet. Qt 6.10 uses the old layout on all platforms and
still includes the Apple Clang 17 __yield fix (landed in 6.9.1).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
All installable Qt releases (through 6.11) hit __has_builtin(__yield)
first in qyieldcpu.h and call it undeclared, which Apple Clang 17+
rejects. Force-include arm_acle.h to provide the declaration, as the
compiler diagnostic suggests. Upstream reordered the checks to prefer
__builtin_arm_yield in qtbase dev; drop this once CI uses a Qt with
that fix.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@digarok
digarok merged commit 9b2fa45 into master Jul 23, 2026
3 checks passed
@digarok
digarok deleted the qt6-port branch July 26, 2026 19:21
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.

1 participant