Show More
@@ -68,9 +68,10 b' def set_qt_api(gui):' | |||
|
68 | 68 | } |
|
69 | 69 | if loaded is not None and gui != "qt": |
|
70 | 70 | if qt_env2gui[loaded] != gui: |
|
71 |
|
|
|
71 | print( | |
|
72 | 72 | f"Cannot switch Qt versions for this session; must use {qt_env2gui[loaded]}." |
|
73 | 73 | ) |
|
74 | return | |
|
74 | 75 | |
|
75 | 76 | if qt_api is not None and gui != "qt": |
|
76 | 77 | if qt_env2gui[qt_api] != gui: |
@@ -108,9 +109,10 b' def set_qt_api(gui):' | |||
|
108 | 109 | if "QT_API" in os.environ.keys(): |
|
109 | 110 | del os.environ["QT_API"] |
|
110 | 111 | else: |
|
111 |
|
|
|
112 | print( | |
|
112 | 113 | f'Unrecognized Qt version: {gui}. Should be "qt5", "qt6", or "qt".' |
|
113 | 114 | ) |
|
115 | return | |
|
114 | 116 | |
|
115 | 117 | |
|
116 | 118 | def get_inputhook_name_and_func(gui): |
General Comments 0
You need to be logged in to leave comments.
Login now