Show More
@@ -10,6 +10,7 b' be accessed directly from the outside' | |||
|
10 | 10 | """ |
|
11 | 11 | import importlib.abc |
|
12 | 12 | import sys |
|
13 | import os | |
|
13 | 14 | import types |
|
14 | 15 | from functools import partial, lru_cache |
|
15 | 16 | import operator |
@@ -368,6 +369,10 b' def load_qt(api_options):' | |||
|
368 | 369 | commit_api(api) |
|
369 | 370 | return result |
|
370 | 371 | else: |
|
372 | # Clear the environment variable since it doesn't work. | |
|
373 | if "QT_API" in os.environ: | |
|
374 | del os.environ["QT_API"] | |
|
375 | ||
|
371 | 376 | raise ImportError( |
|
372 | 377 | """ |
|
373 | 378 | Could not load requested Qt binding. Please ensure that |
General Comments 0
You need to be logged in to leave comments.
Login now