-
Notifications
You must be signed in to change notification settings - Fork 44
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
Suppress new Jammy warnings #404
Conversation
Codecov Report
@@ Coverage Diff @@
## main #404 +/- ##
==========================================
- Coverage 68.12% 68.10% -0.02%
==========================================
Files 38 38
Lines 5364 5367 +3
==========================================
+ Hits 3654 3655 +1
- Misses 1710 1712 +2
|
@osrf-jenkins retest this please |
hi @mjcarroll , before merge this PR, it has many QML warnings while quit from gazebo gui. ... [GUI] [Dbg] [MinimalScene.cc:662] Destroy scene [scene] [GUI] [Wrn] [Application.cc:813] [QT] qrc:qml/Main.qml:52: TypeError: Cannot read property 'dialogOnExitText' of null [GUI] [Wrn] [Application.cc:813] [QT] qrc:qml/Main.qml:54: TypeError: Cannot read property 'exitDialogShowCloseGui' of null [GUI] [Wrn] [Application.cc:813] [QT] qrc:qml/Main.qml:53: TypeError: Cannot read property 'exitDialogShowShutdown' of null [GUI] [Wrn] [Application.cc:813] [QT] qrc:qml/Main.qml:246: TypeError: Cannot read property 'showDrawer' of null [GUI] [Wrn] [Application.cc:813] [QT] qrc:/qml/SideDrawer.qml:93: TypeError: Cannot read property 'showDefaultDrawerOpts' of null [GUI] [Wrn] [Application.cc:813] [QT] qrc:/qml/GzSplit.qml:56: TypeError: Cannot read property 'pluginCount' of null [GUI] [Wrn] [Application.cc:813] [QT] qrc:qml/Main.qml:41: TypeError: Cannot read property 'toolBarColorLight' of null [GUI] [Wrn] [Application.cc:813] [QT] qrc:qml/Main.qml:42: TypeError: Cannot read property 'toolBarTextColorLight' of null [GUI] [Wrn] [Application.cc:813] [QT] qrc:qml/Main.qml:43: TypeError: Cannot read property 'toolBarColorDark' of null [GUI] [Wrn] [Application.cc:813] [QT] qrc:qml/Main.qml:44: TypeError: Cannot read property 'toolBarTextColorDark' of null [GUI] [Wrn] [Application.cc:813] [QT] qrc:qml/Main.qml:45: TypeError: Cannot read property 'pluginToolBarColorLight' of null [GUI] [Wrn] [Application.cc:813] [QT] qrc:qml/Main.qml:46: TypeError: Cannot read property 'pluginToolBarTextColorLight' of null [GUI] [Wrn] [Application.cc:813] [QT] qrc:qml/Main.qml:47: TypeError: Cannot read property 'pluginToolBarColorDark' of null [GUI] [Wrn] [Application.cc:813] [QT] qrc:qml/Main.qml:48: TypeError: Cannot read property 'pluginToolBarTextColorDark' of null [GUI] [Wrn] [Application.cc:813] [QT] qrc:qml/Main.qml:50: TypeError: Cannot read property 'defaultExitAction' of null [GUI] [Wrn] [Application.cc:813] [QT] qrc:qml/Main.qml:51: TypeError: Cannot read property 'showDialogOnExit' of null [GUI] [Wrn] [Application.cc:813] [QT] qrc:qml/Main.qml:55: TypeError: Cannot read property 'exitDialogShutdownText' of null [GUI] [Wrn] [Application.cc:813] [QT] qrc:qml/Main.qml:56: TypeError: Cannot read property 'exitDialogCloseGuiText' of null [GUI] [Wrn] [Application.cc:813] [QT] qrc:qml/Main.qml:66: TypeError: Cannot read property 'toolBarColorLight' of null [GUI] [Wrn] [Application.cc:813] [QT] qrc:qml/Main.qml:76: TypeError: Cannot read property 'toolBarTextColorLight' of null [GUI] [Wrn] [Application.cc:813] [QT] qrc:qml/Main.qml:214: TypeError: Cannot read property 'showPluginMenu' of null [GUI] [Wrn] [Application.cc:813] [QT] qrc:qml/Main.qml:197: TypeError: Cannot read property 'showDrawer' of null [GUI] [Wrn] [Application.cc:813] [QT] qrc:qml/Main.qml:183: TypeError: Cannot read property 'showDrawer' of null [GUI] [Wrn] [Application.cc:813] [QT] file::qml/IgnCard.qml:128: TypeError: Cannot read property 'pluginToolBarColorLight' of null [GUI] [Wrn] [Application.cc:813] [QT] file::qml/IgnCard.qml:139: TypeError: Cannot read property 'pluginToolBarTextColorLight' of null [GUI] [Wrn] [Application.cc:813] [QT] file::qml/IgnCard.qml:128: TypeError: Cannot read property 'pluginToolBarColorLight' of null [GUI] [Wrn] [Application.cc:813] [QT] file::qml/IgnCard.qml:139: TypeError: Cannot read property 'pluginToolBarTextColorLight' of null [GUI] [Wrn] [Application.cc:813] [QT] file::qml/IgnCard.qml:128: TypeError: Cannot read property 'pluginToolBarColorLight' of null [GUI] [Wrn] [Application.cc:813] [QT] file::qml/IgnCard.qml:139: TypeError: Cannot read property 'pluginToolBarTextColorLight' of null [GUI] [Wrn] [Application.cc:813] [QT] file::qml/IgnCard.qml:128: TypeError: Cannot read property 'pluginToolBarColorLight' of null [GUI] [Wrn] [Application.cc:813] [QT] file::qml/IgnCard.qml:139: TypeError: Cannot read property 'pluginToolBarTextColorLight' of null [GUI] [Wrn] [Application.cc:813] [QT] file::qml/IgnCard.qml:128: TypeError: Cannot read property 'pluginToolBarColorLight' of null [GUI] [Wrn] [Application.cc:813] [QT] file::qml/IgnCard.qml:139: TypeError: Cannot read property 'pluginToolBarTextColorLight' of null [GUI] [Wrn] [Application.cc:813] [QT] file::qml/IgnCard.qml:128: TypeError: Cannot read property 'pluginToolBarColorLight' of null [GUI] [Wrn] [Application.cc:813] [QT] file::qml/IgnCard.qml:139: TypeError: Cannot read property 'pluginToolBarTextColorLight' of null [GUI] [Wrn] [Application.cc:813] [QT] file::qml/IgnCard.qml:128: TypeError: Cannot read property 'pluginToolBarColorLight' of null [GUI] [Wrn] [Application.cc:813] [QT] file::qml/IgnCard.qml:139: TypeError: Cannot read property 'pluginToolBarTextColorLight' of null [GUI] [Wrn] [Application.cc:813] [QT] file::qml/IgnCard.qml:128: TypeError: Cannot read property 'pluginToolBarColorLight' of null [GUI] [Wrn] [Application.cc:813] [QT] file::qml/IgnCard.qml:139: TypeError: Cannot read property 'pluginToolBarTextColorLight' of null [GUI] [Wrn] [Application.cc:813] [QT] file::qml/IgnCard.qml:128: TypeError: Cannot read property 'pluginToolBarColorLight' of null [GUI] [Wrn] [Application.cc:813] [QT] file::qml/IgnCard.qml:139: TypeError: Cannot read property 'pluginToolBarTextColorLight' of null [GUI] [Wrn] [Application.cc:813] [QT] file::qml/IgnCard.qml:128: TypeError: Cannot read property 'pluginToolBarColorLight' of null [GUI] [Wrn] [Application.cc:813] [QT] file::qml/IgnCard.qml:139: TypeError: Cannot read property 'pluginToolBarTextColorLight' of null after apply this PR, those warnings was gone, but new warnings appear. [GUI] [Dbg] [MinimalScene.cc:662] Destroy scene [scene] [GUI] [Wrn] [Application.cc:819] [QT] file::/Gazebo/GazeboDrawer.qml:264: TypeError: Cannot read property 'width' of null [GUI] [Wrn] [Application.cc:819] [QT] file::/Gazebo/GazeboDrawer.qml:265: TypeError: Cannot read property 'height' of null [GUI] [Wrn] [Application.cc:819] [QT] file::/Gazebo/GazeboDrawer.qml:181: TypeError: Cannot read property 'width' of null [GUI] [Wrn] [Application.cc:819] [QT] file::/Gazebo/GazeboDrawer.qml:182: TypeError: Cannot read property 'height' of null [GUI] [Wrn] [Application.cc:819] [QT] file::/Gazebo/GazeboDrawer.qml:154: TypeError: Cannot read property 'width' of null [GUI] [Wrn] [Application.cc:819] [QT] file::/Gazebo/GazeboDrawer.qml:155: TypeError: Cannot read property 'width' of null [GUI] [Wrn] [Application.cc:819] [QT] file::/Gazebo/GazeboDrawer.qml:156: TypeError: Cannot read property 'height' of null |
Cleans up corresponding deprecation warnings Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
This narrows the warnings to LoadBadInheritancePlugin. Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
cf0d4f1
to
63ef438
Compare
Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
We can ignore Focal builds for Harmonic. |
There are still some warnings on Jammy. Was this meant to address all warnings? |
Just greatly reduce unfortunately, there is still a Qt sequencing issue that I haven't been able to resolve those last few. |
I found that if you change the diffdiff --git a/test/plugins/TestBadInheritancePlugin.cc b/test/plugins/TestBadInheritancePlugin.cc
index db360125..7feb80e6 100644
--- a/test/plugins/TestBadInheritancePlugin.cc
+++ b/test/plugins/TestBadInheritancePlugin.cc
@@ -25,7 +25,7 @@ using namespace gui;
/////////////////////////////////////////////////
TestBadInheritancePlugin::TestBadInheritancePlugin()
- : MainWindow()
+ : Dialog()
{
}
@@ -36,4 +36,4 @@ TestBadInheritancePlugin::~TestBadInheritancePlugin()
// Register this plugin
GZ_ADD_PLUGIN(TestBadInheritancePlugin,
- gui::MainWindow)
+ gui::Dialog)
diff --git a/test/plugins/TestBadInheritancePlugin.hh b/test/plugins/TestBadInheritancePlugin.hh
index bd301cf3..59550f1b 100644
--- a/test/plugins/TestBadInheritancePlugin.hh
+++ b/test/plugins/TestBadInheritancePlugin.hh
@@ -20,14 +20,14 @@
#ifndef Q_MOC_RUN
#include <gz/gui/qt.h>
- #include <gz/gui/MainWindow.hh>
+ #include <gz/gui/Dialog.hh>
#endif
namespace gz
{
namespace gui
{
- class TestBadInheritancePlugin : public MainWindow
+ class TestBadInheritancePlugin : public Dialog
{
Q_OBJECT |
Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
So it's now only failing on |
.cc
extension, CMake is more strict now b4c2a46TestBadInheritancePlugin
, but couldn't determine what is wrong with that particular test.Signed-off-by: Michael Carroll [email protected]