qt4.4 backwards compat hack

This commit is contained in:
Damien Elmes 2010-07-21 19:22:57 +09:00
parent b006b08af1
commit 3e3f04ee8f

View file

@ -67,5 +67,8 @@ echo "]" >> $init
cat $temp >> $init
rm $temp
# use older integer format so qt4.4 still works
sed -i 's/setProperty("value", 14)/setProperty("value", QtCore.QVariant(14))/' ankiqt/forms/displayproperties.py
echo "Building resources.."
$pyrcc icons.qrc -o icons_rc.py