mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-05 00:09:32 -04:00
pyuic: fix QPyNullVariant exception
This commit is contained in:
parent
c2fb11c8d5
commit
7bab2e5036
7
scripts/pyuic4-wrapper.py
Executable file
7
scripts/pyuic4-wrapper.py
Executable file
@ -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 $@
|
||||
|
Loading…
x
Reference in New Issue
Block a user