Skip to content

Remove qt6-base-dev from package.xml#159

Merged
sloretz merged 1 commit intorollingfrom
sloretz__remove_qt6_from_packagexml
Apr 21, 2026
Merged

Remove qt6-base-dev from package.xml#159
sloretz merged 1 commit intorollingfrom
sloretz__remove_qt6_from_packagexml

Conversation

@sloretz
Copy link
Copy Markdown
Contributor

@sloretz sloretz commented Apr 21, 2026

Requires http://github.com/ros/rosdistro/pull/50844 - which moves qt6-base-dev into the rosdep key python3-qt-bindings so that we can have a consistent Qt version on Ubuntu Noble.

Fixes https://build.ros2.org/view/Rbin_uN64/job/Rbin_uN64__qt_gui_cpp__ubuntu_noble_amd64__binary/118/console

14:07:52 CMake Warning at /opt/ros/rolling/share/python_qt_binding/cmake/sip_helper.cmake:38 (message):
14:07:52   Could not determine PyQt6 bindings directory.
14:07:52 Call Stack (most recent call first):
14:07:52   /opt/ros/rolling/share/python_qt_binding/cmake/sip_helper.cmake:79 (__find_qt_sip_files)
14:07:52   src/qt_gui_cpp_sip/CMakeLists.txt:71 (include)
14:07:52 
14:07:52 
14:07:52 CMake Error at /opt/ros/rolling/share/python_qt_binding/cmake/sip_helper.cmake:81 (message):
14:07:52   PyQt6 SIP bindings are required but were not found.
14:07:52 Call Stack (most recent call first):
14:07:52   src/qt_gui_cpp_sip/CMakeLists.txt:71 (include)

Signed-off-by: Shane Loretz <sloretz@intrinsic.ai>
@sloretz
Copy link
Copy Markdown
Contributor Author

sloretz commented Apr 21, 2026

CI (Build up to qt_gui_cpp, test python_qt_binding)

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@sloretz sloretz merged commit daa9c2f into rolling Apr 21, 2026
2 checks passed
@sloretz sloretz deleted the sloretz__remove_qt6_from_packagexml branch April 21, 2026 23:20
Comment thread package.xml

<buildtool_depend>ament_cmake</buildtool_depend>

<build_depend>qt6-base-dev</build_depend>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This assumes that qt6 isn't already installed on the system, or that there aren't any other packages in the workspace pulling in qt6, correct? Otherwise, the logic in that sip_helper.cmake file would still resolve to Qt6 and trigger a build error(?)

Out of curiosity, why not make qt6 the default here? Is it because some binaries are missing in noble?

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.

4 participants