mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
qt4.4 backwards compat hack
This commit is contained in:
parent
b006b08af1
commit
3e3f04ee8f
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue