allow qt4.6 with a warning

This commit is contained in:
Damien Elmes 2013-01-29 09:02:58 +09:00
parent 0055d31d04
commit 6c97ab3508

View file

@ -198,9 +198,10 @@ environment points to a valid, writable folder.""")
# qt version must be up to date # qt version must be up to date
if qtmajor <= 4 and qtminor <= 6: if qtmajor <= 4 and qtminor <= 6:
QMessageBox.critical( QMessageBox.warning(
None, "Error", "Anki requires Qt4.7 or later.") None, "Error", "Your Qt version is known to be buggy. Until you "
return "upgrade to a newer Qt, you may experience issues such as images "
"failing to show up during review.")
# parse args # parse args
opts, args = parseArgs(sys.argv) opts, args = parseArgs(sys.argv)