Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated h headers #294

Merged
merged 3 commits into from
Jul 9, 2024
Merged

Conversation

ahcorde
Copy link
Contributor

@ahcorde ahcorde commented Jul 3, 2024

No description provided.

Signed-off-by: Alejandro Hernández Cordero <[email protected]>
@ahcorde ahcorde requested a review from clalancette July 3, 2024 16:11
@ahcorde ahcorde self-assigned this Jul 3, 2024
Copy link
Contributor

@clalancette clalancette left a comment

Choose a reason for hiding this comment

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

This is great! I have one thing I think we should fix, but after that is done I think this will be good to go.

Comment on lines +36 to +38
// *INDENT-OFF* (prevent uncrustify from adding indention below)
#warning Including header <qt_gui_cpp/composite_plugin_provider.h> is deprecated, \
include <qt_gui_cpp/composite_plugin_provider.hpp> instead.
Copy link
Contributor

Choose a reason for hiding this comment

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

If we have to do INDENT-OFF, we also need to remember to turn it back on. This probably doesn't matter much in these header files, but we should just be consistent:

Suggested change
// *INDENT-OFF* (prevent uncrustify from adding indention below)
#warning Including header <qt_gui_cpp/composite_plugin_provider.h> is deprecated, \
include <qt_gui_cpp/composite_plugin_provider.hpp> instead.
// *INDENT-OFF* (prevent uncrustify from adding indention below)
#warning Including header <qt_gui_cpp/composite_plugin_provider.h> is deprecated, \
include <qt_gui_cpp/composite_plugin_provider.hpp> instead.
// *INDENT-ON*

(same goes for all other .h header files below)

Signed-off-by: Alejandro Hernández Cordero <[email protected]>
@ahcorde ahcorde requested a review from clalancette July 3, 2024 20:26
Copy link
Contributor

@clalancette clalancette left a comment

Choose a reason for hiding this comment

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

This is failing CI because we are running MOC on the wrong files now. In the CMakeLists.txt, we need to update qt_gui_cpp_HDRS to use the .hpp files.

Signed-off-by: Alejandro Hernández Cordero <[email protected]>
@ahcorde ahcorde requested a review from clalancette July 9, 2024 09:24
@ahcorde
Copy link
Contributor Author

ahcorde commented Jul 9, 2024

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

@ahcorde ahcorde merged commit 93dc7e3 into rolling Jul 9, 2024
2 checks passed
@ahcorde ahcorde deleted the ahcorde/rolling/deprecated_h_headers branch July 10, 2024 09:04
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.

None yet

2 participants