-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use PyQt5 as default API #2879
Use PyQt5 as default API #2879
Conversation
@flying-sheep, until there is an official qt5 package in anaconda, I do not think we are doing this. |
if the API can’t be found, it will fall back to PyQt4, so this change does nothing for people without PyQt5. the only thing it does is preferring to use PyQt5 if available, which is something that all Qt software should do now. |
oh it actually doesn’t, i’ll have to reorder things! |
@goanpeca, I think beta3 is a good point to move to PyQt5 :-) @flying-sheep, tests for Qt5 are failing in Travis. Please solve the failure. |
@flying-sheep, I think I fixed the Travis error in master, so please rebase or merge with master to trigger a new build. However, I think your change breaks Spyder when both PyQt4 and PyQt5 are installed. Please check that in your side. |
ok, will do |
de23569
to
76c0da4
Compare
Now this breaks all our tests in Travis. I really don't know what happens... |
76c0da4
to
60b613e
Compare
ok, i rebased onto master. everything works now for whatever reason. /edit: with and without pyqt4 installed |
except ImportError: | ||
API = os.environ['QT_API'] = 'pyqt' | ||
API_NAME = 'PyQt4' | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should set PYQT5 = False
here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO, it's easier to read and understand.
Except for the comment I've just made, I think this ready. |
60b613e
to
63d9c74
Compare
fixed |
Ok, I think this is ready! Merging :-) |
great 😄 |
i think i did this once.
you stated then that it wasn’t ready, but that’s been some time ago and there are now PyQt5 travis tests.
also 3.0 should really ship like that.