Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3582 +/- ##
==========================================
+ Coverage 47.15% 47.24% +0.09%
==========================================
Files 603 603
Lines 58999 59004 +5
Branches 6969 6984 +15
==========================================
+ Hits 27814 27868 +54
+ Misses 30773 30718 -55
- Partials 412 418 +6 ☔ View full report in Codecov by Sentry. |
4ce7eb6 to
4092832
Compare
rhaschke
left a comment
There was a problem hiding this comment.
QRegularExpression already exists since Qt 5.0: https://doc.qt.io/qt-5/qregularexpression.html
You can drop the corresponding ifdefs.
There is (incomplete) support for Qt 4 still around in some places. Should I ignore this and assume Qt is at least 5.0 or make this more explicit (removing some ifdefs, enforcing in CMake etc)? |
|
I think we have dropped Qt4 support. |
|
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #3582 +/- ##
==========================================
- Coverage 47.88% 47.50% -0.38%
==========================================
Files 604 604
Lines 61141 61557 +416
Branches 7059 7023 -36
==========================================
- Hits 29270 29234 -36
- Misses 31462 31905 +443
- Partials 409 418 +9 ☔ View full report in Codecov by Sentry. |
rhaschke
left a comment
There was a problem hiding this comment.
In general, this looks good. See the comments below for some small cleanups.
Can you please add a CI path testing against Qt6 - the same way I did for rviz?
moveit_setup_assistant/src/widgets/configuration_files_widget.cpp
Outdated
Show resolved
Hide resolved
|
@simonschmeisser: I fixed the Jammy + Noble builds on the master branch. Can you please rebase and resolve the conflicts? Then this PR should be mergeable. |
|
I rebased and squashed this a bit. I based the Qt6 build on noble but we could also base it on jammy |
|
Seems like I need to implement Qt6 support for rviz_visual_tools and moveit_visual_tools as well |
Yes, please ;-) |
Connection from ComboBox was most likely broken due to non-existing signal currentIndexChanged(QString)
* QRegExp has been removed in Qt6 * No longer need to add std::string as QMetaType * QStringRef was removed in Qt6 * Use modern Qt connect syntax * QComboBox::currentIndexChanged(QString) is gone in Qt6 * currentIndexChanged(QString) and modern connect Co-authored-by: Robert Haschke <rhaschke@techfak.uni-bielefeld.de>
Description
This enables compiling against Qt6 if rviz has been compiled against Qt6 as well.
I noticed that the CMake code allows compiling against Qt4 but there are usages of
QRegularExpressionwhich was introduced in Qt 5.0.0 only. I started adding conditional use ofQRegularExpressionbut I'm wondering if this is really necessary so the PR is currently inconsistent.QStringView was introduced in Qt 5.10 and replaces QStringRef since Qt 6.0.0, I added a condition on >= 6.0.0 but it could be 5.10.0 just as well.
Checklist