openfluid icon indicating copy to clipboard operation
openfluid copied to clipboard

Qt 6 management

Open Arthoni opened this issue 2 years ago • 1 comments

Context

cf https://doc.qt.io/qt-6/supported-platforms.html

Qt 5.15 : End of support may 2023

  • Ubuntu 18.04, Ubuntu 20.04
  • Mac OS 10, 11, 12
  • Windows 7, 8, 10, 11

Qt 6.5 (LTS, until at least 2025)

  • Ubuntu 22.04
  • Mac OS 11, 12, 13
  • Windows 10, 11

Porting from Qt 5 to Qt 6

Content:

  • [x] Check warnings Clazy
  • [x] Check yaml content

Compilability:

  • [x] Debian (inc Ubuntu 22.04)
  • [x] Fedora
  • [x] Centos
  • [x] MacOS
  • [x] Windows

Runability:

  • [x] Debian (inc Ubuntu 22.04)
  • [x] Fedora
  • [x] Centos
  • [ ] MacOS
  • [x] Windows

Systems packaging:

  • [x] Debian (inc Ubuntu 22.04)
  • [x] Fedora
  • [x] Centos
  • [ ] MacOS
  • [ ] Windows

Arthoni avatar Sep 11 '23 08:09 Arthoni

Migrate progressively:

QtWidgets : https://doc.qt.io/qt-6/widgets-changes-qt6.html

QtCore : https://doc.qt.io/qt-6/qtcore-changes-qt6.html

  • [x] QVector, QList : identical, care: no copy anymore
  • [x] QProcess (https://doc.qt.io/qt-6/qtcore-changes-qt6.html#the-qprocess-class)
  • [x] QVariant
  • [x] QRegExp
  • [x] QEvent

Workflow

  • Select a category of changes
  • Identify the impacted code
  • Check warnings and Clazy yaml for corresponding files
  • Implement code conversion

Arthoni avatar Oct 11 '23 13:10 Arthoni