Commit c41607ac authored by Josef Weidendorfer's avatar Josef Weidendorfer

Fix Qt version check for Qt-only build with qmake

Trying to compile with Qt 5.10 exposes the bug with
the old, flawed check.
parent dd4e5538
# Build file for QCachegrind using qmake
# This does not require KDE in any way (neither at build nor run time)
lessThan(QT_VERSION, 5.3) {
lessThan(QT_MAJOR_VERSION, 5) {
error("QCachegrind requires Qt 5.3 or greater")
}
lessThan(QT_MINOR_VERSION, 3) {
error("QCachegrind requires Qt 5.3 or greater")
}
TEMPLATE = subdirs
SUBDIRS = cgview qcachegrind
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment