mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-08 14:21:29 +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
|
||||
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.")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user