blawar / nut

GNU General Public License v3.0
1.08k stars 189 forks source link

[Feature] Upgrade to PyQt6 #467

Open alcpereira opened 1 year ago

alcpereira commented 1 year ago

Is your feature request related to a problem? Please describe. I banged my head for 2h trying to run nut on a M1 Pro Mac, mostly related to the pip install PyQt5 (error: sipbuild.pyproject.PyProjectOptionException). I successfully upgraded to PyQt6 with the only exception being the QtRangeSlider disabled for now (In Filters). If @introkun can release a working version of QtRangeSlider with PyQt6 I can suggest my changes (haven't tested them fully yet tho).

Describe the solution you'd like Upgrade to PyQt6 to facilitate Mac users install.

Describe alternatives you've considered I found solutions suggestion using Rosetta, but that's the point I thought that PyQt6 would be a better option.

introkun commented 1 year ago

I'll have a look into QtRangeSlider fix against Qt6

jpage4500 commented 10 months ago

@alcpereira - I'm also struggling to get Nut to run on a M1 mac (and I've followed a couple of guides in other issues but to no avail) -- would you be able to share what you did? I'm ok with the disabled slider too for now

thanks!

alcpereira commented 10 months ago

It seems that @introkun has released a new version with PyQt6 but it has not been published yet to PyPI. I'm not very familiar with publishing packages in Python but I can try to have a look and open a PR on qt-range-slider.

If this is very urgent @jpage4500 let me know and I will push my branch for you to use it without sliders (temporary solution).

introkun commented 3 months ago

It's in the feature branch https://github.com/blawar/nut/pull/490

RJNY commented 2 months ago

I can confirm that pulling from feature branch #490 I was able to successfully run NUT on my M1 MacBook Pro. Many thanks @introkun!!

introkun commented 2 months ago

Thanks for testing @RJNY