Skip to content

Always import qt library before importing qasync for examples. #129

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

christofsteel
Copy link

qasync guesses the python qt wrapper it injects itself into, based on the already loaded module or (if no module is available) on the installed python qt wrapper. The latter approach is a good backup, but can lead to errors, when multiple wrappers are installed.

From what I've gathered, importing qasync after the respective qt wrapper is the preferred way to determine the wrapper to use, so examples should reflect this, to avoid usage errors such as christofsteel/syng#8 (comment) 😅

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.

1 participant