Skip to content

Properly handle QT_API environment variable. #14

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

Merged

Conversation

zerotypic
Copy link
Contributor

As far as I can tell, the QT_API environment variable is usually set to a lowercase string (see https://pypi.org/project/QtPy/ for example). This doesn't work with the existing code as it uses value of QT_ENV as the module name. I've added a lookup to translate from the various acceptable QT_API values to module names.

@TheGreatCabbage TheGreatCabbage merged commit d9cd56b into CabbageDevelopment:master Nov 11, 2020
@TheGreatCabbage
Copy link
Member

TheGreatCabbage commented Nov 11, 2020

This and your other PR are now live in v0.10.0. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants