Transition Octave to Qt6

If you do get Octave working with Qt 6, I would be very interested in the steps you took.

For background, this link shows which distros package which version of Qt: Qt version across various Linux and BSD distros

As seen from that link, the vast majority are still packaging Qt5, but even the minority that package Qt6 like Arch Linux and Fedora Rawhide still list Qt5 as a prerequisite for their respective Octave packages. Examples:

If you can get Octave linked to Qt6, it would be valuable to multiple distros.

It is unlikely that Octave gets support for Qt6 before it is shipped readily by Debian/Ubuntu.
Making that (likely involved?) change to the configuration and build system of Octave is probably more difficult than the original problem here.
Imho, it would be better to not get side-tracked in this thread. If you’d like to discuss transitioning Octave to Qt6, please post in the dedicated thread.

For Fedora I think that Orion will only change when Qt6 is deemed stable for Octave.

For the moment since Qt5 is also available for Fedora I do not expect the version used to build Octave in Fedora to change soon. FWIW this is my take, I have not discussed this with Orion (Fedora’s Octave maintainer).

Moved to a new thread to keep the other one on track.

IIUC, Qt6 dropped support for Windows 7 and Windows 8.1:
Qt for Windows | Qt 6.2

Operating System Architecture Compiler Notes
Windows 11 21H2 (1809 or later) x86_64 MSVC 2022, MSVC 2019, MinGW 11.2
Windows 10 21H2 (1809 or later) x86_64 MSVC 2022, MSVC 2019, MinGW 11.2
Windows on ARM arm64 MSVC 2019 Technology Preview

Compared to Qt5 which still supports them:
Qt for Windows | Qt 5.15

Operating System Architecture Compiler Notes
Windows 11 21H2 x86 and x86_64
Windows 10 21H2 x86 and x86_64 MSVC 2022, MSVC 2019, MSVC 2017, MSVC 2015, MinGW 8.1
Windows 8.1 x86 and x86_64 MSVC 2019, MSVC 2017, MinGW 8.1
Windows 7 x86 and x86_64 MSVC 2019, MSVC 2017, MinGW 8.1 MinGW-builds GCC 8.1.0 (x86)

Afaict, we still try to support Windows 7.

Anyway, just something to keep in mind when transitioning to Qt6.