Skip to content

Commit

Permalink
Disable deprecation messages about onFoo connections (#534)
Browse files Browse the repository at this point in the history
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Co-authored-by: Michael Carroll <michael@openrobotics.org>
  • Loading branch information
azeey and mjcarroll committed Apr 12, 2023
1 parent 1084ba2 commit f81686a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Application.cc
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,12 @@ Application::Application(int &_argc, char **_argv, const WindowType _type)
this->setOrganizationDomain("gazebosim.org");
this->setApplicationName("Gazebo GUI");

// Disable deprecation messages about onFoo connections since the new way of
// definining connections is only available as of Qt 5.12, which is not
// available in Ubuntu Focal
// TODO(azeey) Remove once Qt 5.12 is available in all supported platforms.
QLoggingCategory::setFilterRules("qt.qml.connections=false");

#if __APPLE__
// Use the Metal graphics API on macOS.
gzdbg << "Qt using Metal graphics interface" << std::endl;
Expand Down

0 comments on commit f81686a

Please sign in to comment.