Skip to content
Permalink
Browse files
pyuic: fix QPyNullVariant exception
  • Loading branch information
jef-n committed Dec 2, 2015
1 parent c2fb11c commit 7bab2e5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
@@ -0,0 +1,7 @@
try:
import sip
sip.setapi("QVariant", 2)
except:
pass

import PyQt4.uic.pyuic
@@ -7,4 +7,4 @@ shift 3

export LD_LIBRARY_PATH PYTHONPATH

$PYUIC4 $@
exec python $(dirname $0)/pyuic4-wrapper.py $@

0 comments on commit 7bab2e5

Please sign in to comment.