Removed some branching due to Qt versions.
This commit is contained in:
parent
70a72658c5
commit
485add5b6e
1 changed files with 7 additions and 9 deletions
16
rssguard.pro
16
rssguard.pro
|
@ -105,15 +105,13 @@ isEmpty(USE_WEBENGINE) {
|
||||||
USE_WEBENGINE = false
|
USE_WEBENGINE = false
|
||||||
message(rssguard: USE_WEBENGINE variable is not set.)
|
message(rssguard: USE_WEBENGINE variable is not set.)
|
||||||
|
|
||||||
!lessThan(QT_MAJOR_VERSION, 5):!lessThan(QT_MINOR_VERSION, 2) {
|
qtHaveModule(webenginewidgets) {
|
||||||
qtHaveModule(webenginewidgets) {
|
USE_WEBENGINE = true
|
||||||
USE_WEBENGINE = true
|
message("rssguard: WebEngine component IS installed, enabling it.")
|
||||||
message("rssguard: WebEngine component IS installed, enabling it.")
|
}
|
||||||
}
|
else {
|
||||||
else {
|
USE_WEBENGINE = false
|
||||||
USE_WEBENGINE = false
|
message("rssguard: WebEngine component is probably NOT installed, disabling it.")
|
||||||
message("rssguard: WebEngine component is probably NOT installed, disabling it.")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue