Fixed qmake version check.

This commit is contained in:
Leonardo Zide 2018-05-13 17:30:05 -07:00
parent 3276b9b320
commit 1cb4db54b0

View file

@ -1,19 +1,17 @@
QT += core gui opengl network xml
TEMPLATE = app
greaterThan(QT_MAJOR_VERSION, 4)
{
greaterThan(QT_MAJOR_VERSION, 4) {
QT *= printsupport
QT += concurrent
}
greaterThan(QT_MAJOR_VERSION, 5)
{
QT += gamepad
equals(QT_MAJOR_VERSION, 5) {
greaterThan(QT_MINOR_VERSION, 7) {
QT += gamepad
}
}
equals(QT_MAJOR_VERSION, 5) : greaterThan(QT_MINOR_VERSION, 7): QT += gamepad
INCLUDEPATH += qt common
CONFIG += precompile_header incremental c++11
win32 {