aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib-python/2.7/plat-mac/Carbon/Qt.py')
-rw-r--r--lib-python/2.7/plat-mac/Carbon/Qt.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib-python/2.7/plat-mac/Carbon/Qt.py b/lib-python/2.7/plat-mac/Carbon/Qt.py
new file mode 100644
index 0000000000..590a92ad17
--- /dev/null
+++ b/lib-python/2.7/plat-mac/Carbon/Qt.py
@@ -0,0 +1,5 @@
+from _Qt import *
+try:
+ _ = AddFilePreview
+except:
+ raise ImportError, "Old (2.3) _Qt.so module loaded in stead of new (2.4) _Qt.so"