Skip to content

Add Qt6 support for nav2_rviz_plugins#5576

Merged
SteveMacenski merged 3 commits intoros-navigation:mainfrom
mini-1235:feat/qt6
Oct 2, 2025
Merged

Add Qt6 support for nav2_rviz_plugins#5576
SteveMacenski merged 3 commits intoros-navigation:mainfrom
mini-1235:feat/qt6

Conversation

@mini-1235
Copy link
Copy Markdown
Collaborator

@mini-1235 mini-1235 commented Oct 2, 2025


Basic Info

Info Please fill out this column
Ticket(s) this addresses closes #5570
Primary OS tested on Ubuntu
Robotic platform tested on Tested on Jazzy, Rolling
Does this PR contain AI generated software? No
Was this PR description generated by AI software? Out of respect for maintainers, AI for human-to-human communications are banned

Description of contribution in a few bullet points

Add Qt6 support for nav2_rviz_plugins

Description of documentation updates required from your changes

Description of how this change was tested

Tested both in Jazzy and Rolling, works fine


Future work that may be required in bullet points

For Maintainers:

  • Check that any new parameters added are updated in docs.nav2.org
  • Check that any significant change is added to the migration guide
  • Check that any new features OR changes to existing behaviors are reflected in the tuning guide
  • Check that any new functions have Doxygen added
  • Check that any new features have test coverage
  • Check that any new plugins is added to the plugins page
  • If BT Node, Additionally: add to BT's XML index of nodes for groot, BT package's readme table, and BT library lists
  • Should this be backported to current distributions? If so, tag with backport-*.

Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>
Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>
Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>
@mini-1235
Copy link
Copy Markdown
Collaborator Author

mini-1235 commented Oct 2, 2025

To compile this with qt6 we actually need to install qt6-scxml-dev, but I am not sure how to handle this in package.xml. Rviz only have qt5 in their package.xml even though they have supported qt6.... See more in ros2/rviz#1187 (comment)

edit: I cannot find this package in ros index https://index.ros.org/search_deps/?deps=qt6

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SteveMacenski SteveMacenski merged commit 43fe4d0 into ros-navigation:main Oct 2, 2025
15 checks passed
@SteveMacenski
Copy link
Copy Markdown
Member

That is, we can leave these as Qt5 dependencies for now, and then when we officially switch over, we can change these to Qt6 dependencies. For users of the other one (that is not officially supported), they can still build from source, they just won't be able to successfully run rosdep.

This is a near word-for-word explanation of what I would have said provided by Chris in that thread. I think this is done, thanks so much!

@mini-1235 mini-1235 deleted the feat/qt6 branch October 2, 2025 17:35
SakshayMahna pushed a commit to SakshayMahna/navigation2 that referenced this pull request Oct 4, 2025
* Add support for qt6

Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>

* Modify CMakeList to support Jazzy

Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>

* Precommit

Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>

---------

Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>
silanus23 pushed a commit to silanus23/navigation2 that referenced this pull request Oct 10, 2025
* Add support for qt6

Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>

* Modify CMakeList to support Jazzy

Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>

* Precommit

Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>

---------

Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>
silanus23 pushed a commit to silanus23/navigation2 that referenced this pull request Oct 11, 2025
* Add support for qt6

Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>

* Modify CMakeList to support Jazzy

Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>

* Precommit

Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>

---------

Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>
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.

Qt6 Support for nav2 rviz plugins

2 participants