Skip to content

Commit

Permalink
update lessThan check
Browse files Browse the repository at this point in the history
  • Loading branch information
jplsek committed Jan 9, 2018
1 parent 7823822 commit 3c01b84
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions puush-qt.pri
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# qt-5.7 is needed because of "qt-quick control 2".
lessThan(QT_VERSION, 5.7): error("This application requires a minimum verion of Qt 5.7")
# can't use QT_VERSION, because lessThan can't handle decimals (5.10)
MIN_MESSAGE = "This application requires a minimum verion of Qt 5.7"
lessThan(QT_MAJOR_VERSION, 5): error($${MIN_MESSAGE})
lessThan(QT_MINOR_VERSION, 7): error($${MIN_MESSAGE})

QMAKE_CXXFLAGS += -std=c++11

include($$PWD/lib/uglobalhotkey/uglobalhotkey.pri)
include($$PWD/lib/uglobalhotkey/uglobalhotkey.pri)

0 comments on commit 3c01b84

Please sign in to comment.