Allow gamepad module on older versions.

This commit is contained in:
Leonardo Zide 2019-03-16 15:52:15 -07:00
parent e07b9d7ec6
commit c7142d46c8

View file

@ -7,11 +7,9 @@ greaterThan(QT_MAJOR_VERSION, 4) {
}
equals(QT_MAJOR_VERSION, 5) {
greaterThan(QT_MINOR_VERSION, 11) {
qtHaveModule(gamepad) {
QT += gamepad
DEFINES += LC_ENABLE_GAMEPAD
}
qtHaveModule(gamepad) {
QT += gamepad
DEFINES += LC_ENABLE_GAMEPAD
}
}