Removed some branching due to Qt versions.

This commit is contained in:
Martin Rotter 2016-08-29 10:00:04 +02:00
parent 70a72658c5
commit 485add5b6e

View File

@ -105,15 +105,13 @@ isEmpty(USE_WEBENGINE) {
USE_WEBENGINE = false
message(rssguard: USE_WEBENGINE variable is not set.)
!lessThan(QT_MAJOR_VERSION, 5):!lessThan(QT_MINOR_VERSION, 2) {
qtHaveModule(webenginewidgets) {
USE_WEBENGINE = true
message("rssguard: WebEngine component IS installed, enabling it.")
}
else {
USE_WEBENGINE = false
message("rssguard: WebEngine component is probably NOT installed, disabling it.")
}
qtHaveModule(webenginewidgets) {
USE_WEBENGINE = true
message("rssguard: WebEngine component IS installed, enabling it.")
}
else {
USE_WEBENGINE = false
message("rssguard: WebEngine component is probably NOT installed, disabling it.")
}
}