Skip to content

Conversation

pierrewillenbrockdfki
Copy link
Contributor

This has the (surprisingly) fairly small bit converting base-types visualizations over to support qt5 besides qt4 and the addition of a OrientedBoundingBoxVisualization by Steffen.

cmake_policy(SET CMP0057 NEW)

find_package(Rock)
rock_init(base 1.0)
Copy link
Member

Choose a reason for hiding this comment

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

I think passing arguments to rock_init() is deprecated

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, but lets not add that change on top as well.

SonarVisualization.cpp
PointcloudVisualization.cpp
DepthMapVisualization.cpp
OrientedBoundingBoxVisualization.cpp
Copy link
Member

Choose a reason for hiding this comment

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

Should adding OrientedBoundingBoxVisualization be a separate PR? (I don't see anything wrong with that addition, i.e., I'd be fine with adding it here as well -- and this seems to have been in the qt4/qt5 branch for quite a while now ...)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Its hard to get it out of the history at this point; a revert would potentially remove it again depending on merge order.

@chhtz
Copy link
Member

chhtz commented Sep 23, 2025

"Minor" Addendum: Building with ROCK_TEST_ENABLED=ON does not work at the moment (needs at least replacing some base-viz by base-viz-qt5, etc in the test cases. With Ubuntu 24.04 it is apparently more complicated due to changes in ruby/rice)

@pierrewillenbrockdfki
Copy link
Contributor Author

"Minor" Addendum: Building with ROCK_TEST_ENABLED=ON does not work at the moment (needs at least replacing some base-viz by base-viz-qt5, etc in the test cases. With Ubuntu 24.04 it is apparently more complicated due to changes in ruby/rice)

Thanks for the heads-up, i did not think there would be viz-tests outside of test/viz(where only ruby tests live that cannot work without qtbindings for qt5)

Especially fixes the not-building and failing when qt4 is not available.
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