require at least qt 5.7.0 when building the project

This commit is contained in:
pazos 2018-05-22 14:31:34 +02:00
parent 9272767e4e
commit d06a16f7da

View file

@ -1,3 +1,8 @@
# qml components require at least QT 5.7.0
lessThan (QT_MAJOR_VERSION, 5) | lessThan (QT_MINOR_VERSION, 7) {
error("Can't build with Qt $${QT_VERSION}. Use at least Qt 5.7.0")
}
TEMPLATE = app
QT += qml quick widgets