config.pri: make build fail if Qt Version is below 5.3

This commit is contained in:
Felix Kauselmann 2015-05-22 17:28:11 +02:00
parent 598343afbc
commit de49a17f85

View File

@ -15,6 +15,9 @@ lessThan(QT_VER_MIN, 4):!CONFIG(no_opengl) {
CONFIG += legacy_gl_widget
message ("Qt < 5.4 detected. Using QGLWidget for coverflow.")
}
essThan(QT_VER_MIN, 3){
error ("You need at least Qt 5.3 to build YACReader or YACReaderLibrary")
}
#build without opengl widget support
CONFIG(no_opengl) {