mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-09 06:43:08 +01:00
Removed some branching due to Qt versions.
This commit is contained in:
parent
70a72658c5
commit
485add5b6e
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…
Reference in New Issue
Block a user