Skip to content

Use the same Qt version as qt_gui_cpp#346

Draft
cottsay wants to merge 1 commit into
rollingfrom
cottsay/use-upstream-qt-version
Draft

Use the same Qt version as qt_gui_cpp#346
cottsay wants to merge 1 commit into
rollingfrom
cottsay/use-upstream-qt-version

Conversation

@cottsay

@cottsay cottsay commented Apr 28, 2026

Copy link
Copy Markdown
Member

Rather than running the detection logic again, just use the version that qt_gui_cpp used, which we must match.

Rather than running the detection logic again, just use the version that
qt_gui_cpp used, which we must match.

Signed-off-by: Scott K Logan <logans@cottsay.net>
@cottsay cottsay requested review from mjcarroll and sloretz April 28, 2026 05:41
@cottsay cottsay self-assigned this Apr 28, 2026
@cottsay cottsay added the bug label Apr 28, 2026
@cottsay cottsay marked this pull request as draft April 28, 2026 05:48

@ahcorde ahcorde left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CMake defaults to ascending resolution, so when Qt5 and Qt6 are both present, Qt5 will be found first when Qt6 is desired (Rolling, L-Turtle, and beyond). e.g. this pattern find_package(QT NAMES Qt6 Qt5 ...) resolves to Qt5.

Reference ros2/rviz#1689

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants