default to GL mode auto on qt 5.12

This commit is contained in:
Damien Elmes 2018-12-10 14:50:22 +10:00
parent e10b9a032e
commit d7760d9831

View file

@ -425,7 +425,10 @@ please see:
path = self._glPath()
if not os.path.exists(path):
return "software"
if qtminor >= 12:
return "auto"
else:
return "software"
mode = open(path, "r").read().strip()