mantidproject / mantidimaging

Graphical toolkit for neutron imaging.
https://mantidproject.github.io/mantidimaging
GNU General Public License v3.0
12 stars 6 forks source link

Qt 6 migration #963

Open samtygier-stfc opened 3 years ago

samtygier-stfc commented 3 years ago

Desired Behaviour

Investigate what is needed for Qt6 migration.

Are we using any deprecated APIs?

samtygier-stfc commented 3 years ago

PYTHONDEVMODE=1 pytest

971 looks like the only Qt related warning.

samtygier-stfc commented 3 years ago

975 Update PyQtGraph version

978 Some API changes that make Qt5 implementation more compatible with Qt6

samtygier-stfc commented 3 years ago

This is held up because it is not simple to install PyQt6 on IDAaaS. CentOS7 had glibc 2.17, but the pypi wheels for PyQt6 require glibc 2.28. Installing from source might be possible, although Qt list cento 8.1 as a requirement https://bugreports.qt.io/browse/QTBUG-85851 .

The final bits of the migration are on the following branch. When the IDAaaS situation changes it should still be useful. https://github.com/mantidproject/mantidimaging/tree/qt6_test1

JackEAllen commented 1 month ago

https://anaconda.org/conda-forge/qt6-main/files

MikeSullivan7 commented 1 month ago

It looks like pyqt6 is available on PyPi but not via conda-forge: https://www.riverbankcomputing.com/static/Docs/PyQt6/installation.html

samtygier-stfc commented 1 month ago

I think we are still waiting on an update at https://github.com/conda-forge/pyqt-feedstock . There are a few issues and PRs there, but no sign of recent movement on it.