Skip to content

Commit a407cbc

Browse files
committed
Require Qt >=5.14.0 for Qt::{KeepEmptyParts,SkipEmptyParts,endl}
- https://doc.qt.io/qt-5/qt.html#SplitBehaviorFlags-enum - https://doc.qt.io/qt-5/qt.html#endl
1 parent 68f993b commit a407cbc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/src.pro

+6
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ target.path = $$BINDIR
2929
DEPENDPATH += .
3030
QT = core
3131

32+
_MIN_QT_VERSION = 5.14.0
33+
34+
!versionAtLeast(QT_VERSION, $${_MIN_QT_VERSION}) {
35+
error("Qt $${QT_VERSION} found but Qt >=$${_MIN_QT_VERSION} required, cannot continue.")
36+
}
37+
3238
greaterThan(QT_MAJOR_VERSION, 5) {
3339
QT += core5compat
3440
}

0 commit comments

Comments
 (0)