1
0
Fork 0
mirror of https://github.com/thoughtbot/capybara-webkit synced 2023-03-27 23:22:28 -04:00

Fail immediately when trying to compile with less than Qt 4.8

* We use features not present in Qt 4.7
* This fails earlier with a clearer message
This commit is contained in:
Joe Ferris 2013-11-09 16:18:29 -05:00
parent 525a8bb130
commit f35e2df0df

View file

@ -137,6 +137,11 @@ greaterThan(QT_MAJOR_VERSION, 4) {
} else {
QT += webkit
}
lessThan(QT_MAJOR_VERSION, 5) {
lessThan(QT_MINOR_VERSION, 8) {
error(At least Qt 4.8.0 is required to run capybara-webkit.)
}
}
CONFIG += console precompile_header
CONFIG -= app_bundle
PRECOMPILED_HEADER = stable.h