-
Notifications
You must be signed in to change notification settings - Fork 59
Migrate to Qt6 #666
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
Migrate to Qt6 #666
Conversation
Before this fix, if the value property has a binding instead of a value, any modification from the GUI (e.g. hitting the up arrow on the spin box) would not actually change the displayed value because it is immediately reset back to the value set by the binding. This is the case in the `GzPose` module and the effect can be easily be seen in the `GridConfig` plugin. To test, run: `gz gui -c examples/config/grid_config.config` You will see that, before this change, modifying the x,y,z,roll,pitch, yaw values actually changes the grid configuration, but the updated values are not displayed in the spinbox. Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
…dings Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably unrelated but I tried to load the minimal_scene
plugin from the Gazebo plugin menu. I correctly saw the message that only one 3D scene plugin is supported at a time. When I tried to close the panel of that plugin, I got a crash.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few minor comments/questions. Other than that I was able to load all of the plugins and examples 🎈 .
Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
Fixed in 8d7e045. Noticed that this also happens on Ionic so will backport the fix as well. |
Updated layout in 43a4763. Now it looks like this: ![]() will also backport to other release branches |
I believe that's on purpose. It shows an integer spinbox with default width, and a double spinbox with width explicitly set to 300 |
Signed-off-by: Ian Chen <ichen@openrobotics.org>
testing with updated gz-gui homebrew formula that uses Qt6: https://build.osrfoundation.org/job/gz_gui-ci-pr_any-homebrew-amd64/218/ |
homebrew CI is green, merging! |
🎉 New feature
Built on top of #657 (and replaces that PR)
Related PR in gz-sim: gazebosim/gz-sim#2832
Summary
See PR description in #657. Apart from updating CMake calls and QML syntax to Qt6, one important change to highlight is:
This resulted in changes in almost all the QML files in our GUI plugins. In order to call C++ functions from QML, the syntax is now
_ClassName.Function()
instead ofClassName.Function()
.All TODOs mentioned in that PR has been addressed
CI status
Depends on:
Please see #673 that test these changes using custom CI branches. All checks are now green.
Plugins / Examples Status
I tested all gui plugins and examples in gz-gui (on ubuntu) to make sure they work in Qt6.
Here are their statuses:
Plugins
Examples
standalone:
plugin:
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.