Skip to content
Permalink
Browse files

pyuic: fix QPyNullVariant exception

  • Loading branch information
jef-n committed Dec 2, 2015
1 parent c2fb11c commit 7bab2e5036b5679f6dd3c6c7508c97fbde9d9006
Showing with 8 additions and 1 deletion.
  1. +7 −0 scripts/pyuic4-wrapper.py
  2. +1 −1 scripts/pyuic4-wrapper.sh
@@ -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.
You can’t perform that action at this time.