mirror of
https://github.com/leozide/leocad
synced 2024-11-17 07:47:55 +01:00
Allow gamepad module on older versions.
This commit is contained in:
parent
e07b9d7ec6
commit
c7142d46c8
1 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue