mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-03 12:50:25 +08:00
Fix setting of QT_API environment variable
This commit is contained in:
1 parent
153bc6edf9
commit
817c9634e8
1 file changed
+3
@@ -16,4 +16,7 @@ if qt_api is None:
|
||||
# Note that we don't want to raise an error because that would
|
||||
# cause the TravisCI build to fail.
|
||||
warnings.warn("Could not import PyQt4: ImageViewer not available!")
|
||||
|
||||
|
||||
if qt_api is not None:
|
||||
os.environ['QT_API'] = qt_api
|
||||
Reference in new issue
Block a user