Qt4 has QChar::toLatin1() as well so we don't need to use toAscii() in Qt4.

Only add 'widgets' to QT in the project file in Qt5 - Qt4 doesn't have it and using it results in a warning.

made it compile on windows/qt5

(0) -10 -3 +3 +10 +30 tip

mercurial