TomographicImaging / eqt

A number of templates and tools to develop Qt GUI's with Python effectively.
Other
2 stars 3 forks source link

Consider move to Pyside6? #55

Open lauramurgatroyd opened 1 year ago

lauramurgatroyd commented 1 year ago

https://www.pythonguis.com/faq/pyside2-vs-pyside6/

lauramurgatroyd commented 1 year ago

I updated to pyside6 on this branch: https://github.com/paskino/qt-elements/tree/pyside6

When I try to run examples I get an error:

qt.qpa.plugin: Could not find the Qt platform plugin "windows" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

lauramurgatroyd commented 1 year ago

If I install from pip I have no problems. I believe this is because it gives me also: PySide6-Addons-6.4.1 PySide6-Essentials-6.4.1 shiboken6-6.4.1

I can't get any of these from anaconda

lauramurgatroyd commented 1 year ago

Pip seems to get these for me automatically if I make a conda environment and then pip install eqt, as long as I don't do --no-deps

lauramurgatroyd commented 1 year ago

So maybe the conda recipe would work as long as we make sure we pip install in there?

lauramurgatroyd commented 1 year ago

I'll make a local conda build and install to test what happens

lauramurgatroyd commented 1 year ago

It doesn't work, it seems running pip install in the conda recipe still doesn't get me the needed packages from pypi