Skip to content

Migrate Qt5 to Qt6 #586

@mjcarroll

Description

@mjcarroll

Tracking issue for tasks required to migrate from Qt5 to Qt6.


Environment: Ubuntu Noble + Gazebo Ionic + Qt6 + #596 + gazebosim/gz-sim#2305
Initial test: gz sim minimal_scene.sdf

Goals

  1. Make Gz Ionic work with Qt5/Qt6
  2. Backport Qt5 changes to Harmonic

Tasks

  • Update our gz gui CI action to use Ubuntu Noble.
  • Forward port gz-qui8 to main.

Ideas

  • Load our qml codebase into Qt Creator / GammaRay to detect issues.

Current list of issues:

  • GzSpinBox. Replace it with a textbox widget.
  • TreeViewStyle not available in Qt6 qml .
  • Review if QtQuick.Controls 1.x is used and identify the replacement if any.
  • [GUI] [Err] [Gui.cc:326] Failed to instantiate custom drawer, drawer will be empty.
  • (fixed) Confirm if there's a segfault when running gz sim shapes.sdf or gz sim minimal_scene.sdf.
  • Propagate the changes made in gz-gui to compile plugins as modules.
  • 3D scene window not working. Minimal example to load a 3D scene:
    * https://doc.qt.io/qt-6/debug.html
    * There's a useful example in gz-rendering: examples/simple_demo_qml .
    * 1st test: Load MinimalScene only and create a <scene> element within <world> to change the background color.
    * 2nd test: Create an SDF with MinimalScene (gz-gui) and SceneManager (gz-sim).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions