Skip to content

Supporting Qt 6 #5395

@The-Compiler

Description

@The-Compiler

Continued in #7202, most of the information below is purely historical.


The next Qt release after 5.15 will be Qt 6. The initial schedule plans for a release 2020-12-01, with feature freeze on 2020-08-31.

QtWebEngine is coming back with Qt 6.2. Release schedule:

  • Feature freeze 2021-06-07
  • Alpha 2021-06-23
  • Beta 1 2021-07-6
  • Beta 2 2021-07-27
  • Beta 3 2021-08-17
  • Beta 4 2021-08-31
  • RC 2021-09-14
  • Final 2021-09-30

Links:

API changes

Probably going to be a bunch, but rather small changes... The plan for qutebrowser is to stay compatible with Qt 5 for a while, while gaining compatibility with Qt 6.

API review follow ups

Interesting non-API changes

Planned changes in PyQt

More from the website:

PyQt6 introduces the following incompatibilities over PyQt5:

  • The Qt module has been removed.
  • QtWidgets.qApp has been removed.
  • The QtCore.PYQT_CONFIGURATION dict has been removed.
  • pyrcc has been removed.
  • Scoped enums are now implemented as enum.Enum (PyQt5 used enum.IntEnum). Named enums are now implemented as enum.IntEnum (PyQt5 used a custom type). PyQt5 allowed an int whenever an enum was expected. PyQt6 requires the correct type (ie. it will not accept an int instead of an enum).
  • All exec_() methods have been removed.
  • All print_() methods have been removed.
  • Python v3.6 or later is required.

Changes which probably didn't make it

Metadata

Metadata

Assignees

No one assigned

    Labels

    qt: 6Issues related to Qt 6.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions