Skip to content
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

Don't require Python 3 for Qt5. #2906

Closed
wants to merge 7 commits into from
Closed

Conversation

sebastic
Copy link
Contributor

Use separate ENABLE_PYTHON3 option for Python 3.

2.14.0 with 264527a failed to build with Python 3 due to an issue with PyUnicode_AsUTF8String from PyQt5. The bindings build successfully with Python 2 and PyQt5.

@m-kuhn
Copy link
Member

m-kuhn commented Mar 14, 2016

Nice! Can we make this default on for Qt5?

@sebastic
Copy link
Contributor Author

If the general situation is that Qt5 is only supported with Python 3, it makes sense to enable Python 3 along with Qt5, but we should not equate Qt5 with Python 3.

@m-kuhn
Copy link
Member

m-kuhn commented Mar 14, 2016

QGIS 3.0 will be Qt5 and Python3 and the two have in common that they render plugins useless - or require updates which no plugins have done yet. Except the situation of python2 + pyqt4-qt5 which I'm not sure if it's shipped anywhere.

I therefore assume that in the majority of cases both options will be used in sync. But I agree that this behavior should not be enforced, so your PR is very welcome.

@sebastic sebastic closed this Mar 14, 2016
@sebastic sebastic deleted the qt5-bindings branch March 14, 2016 08:03
@sebastic sebastic restored the qt5-bindings branch March 14, 2016 08:07
@sebastic
Copy link
Contributor Author

This branch was deleted by mistake, reopening the PR.

@sebastic sebastic reopened this Mar 14, 2016
@m-kuhn m-kuhn added the Requires Changes! Waiting on the submitter to make requested changes label Mar 15, 2016
@m-kuhn
Copy link
Member

m-kuhn commented Mar 16, 2016

Manually merged in 81c5f25

Thanks

@m-kuhn m-kuhn closed this Mar 16, 2016
@sebastic sebastic deleted the qt5-bindings branch March 16, 2016 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Requires Changes! Waiting on the submitter to make requested changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants