Show More
@@ -10,6 +10,7 b' be accessed directly from the outside' | |||||
10 | """ |
|
10 | """ | |
11 | import importlib.abc |
|
11 | import importlib.abc | |
12 | import sys |
|
12 | import sys | |
|
13 | import os | |||
13 | import types |
|
14 | import types | |
14 | from functools import partial, lru_cache |
|
15 | from functools import partial, lru_cache | |
15 | import operator |
|
16 | import operator | |
@@ -368,6 +369,10 b' def load_qt(api_options):' | |||||
368 | commit_api(api) |
|
369 | commit_api(api) | |
369 | return result |
|
370 | return result | |
370 | else: |
|
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 | raise ImportError( |
|
376 | raise ImportError( | |
372 | """ |
|
377 | """ | |
373 | Could not load requested Qt binding. Please ensure that |
|
378 | Could not load requested Qt binding. Please ensure that |
General Comments 0
You need to be logged in to leave comments.
Login now