Skip to content

cmake: declare Qt 6.2 minimum (matches Ubuntu 22.04 LTS, gates startSystemMove)#1962

Merged
ten9876 merged 1 commit intomainfrom
auto/cmake-declare-Qt-62-minimum-matches-Ubuntu-2204-LT
Apr 25, 2026
Merged

cmake: declare Qt 6.2 minimum (matches Ubuntu 22.04 LTS, gates startSystemMove)#1962
ten9876 merged 1 commit intomainfrom
auto/cmake-declare-Qt-62-minimum-matches-Ubuntu-2204-LT

Conversation

@ten9876
Copy link
Copy Markdown
Owner

@ten9876 ten9876 commented Apr 25, 2026

Set the explicit Qt floor at 6.2 in find_package(). The frameless
title-bar drag uses QWindow::startSystemMove() in three call sites
(TitleBar, ContainerWidget, PanadapterApplet) which was added in
Qt 6.2 — without an explicit floor, source builds against older Qt
fail with confusing compile errors instead of a clear configure-time
message.

6.2 matches Ubuntu 22.04 LTS, our oldest supported distro. All binary
distributions bundle Qt 6.7+ already (required by QRhiWidget for the
GPU spectrum), so this only affects source builds.

Closes the conversation around #1959 — credit to @Chaosuk97 for
flagging the underlying gap.

Co-Authored-By: Claude Opus 4.7 (1M context) [email protected]

…ystemMove)

Set the explicit Qt floor at 6.2 in find_package().  The frameless
title-bar drag uses QWindow::startSystemMove() in three call sites
(TitleBar, ContainerWidget, PanadapterApplet) which was added in
Qt 6.2 — without an explicit floor, source builds against older Qt
fail with confusing compile errors instead of a clear configure-time
message.

6.2 matches Ubuntu 22.04 LTS, our oldest supported distro.  All binary
distributions bundle Qt 6.7+ already (required by QRhiWidget for the
GPU spectrum), so this only affects source builds.

Closes the conversation around #1959 — credit to @Chaosuk97 for
flagging the underlying gap.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@ten9876 ten9876 enabled auto-merge (squash) April 25, 2026 15:42
@ten9876 ten9876 merged commit 3813f6a into main Apr 25, 2026
5 checks passed
@ten9876 ten9876 deleted the auto/cmake-declare-Qt-62-minimum-matches-Ubuntu-2204-LT branch April 25, 2026 16:06
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