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:
parent
525a8bb130
commit
f35e2df0df
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue