From 485add5b6e0910db2c81d552adadb5d6573c7ac4 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Mon, 29 Aug 2016 10:00:04 +0200 Subject: [PATCH] Removed some branching due to Qt versions. --- rssguard.pro | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/rssguard.pro b/rssguard.pro index 879465d86..ae8d3b59f 100755 --- a/rssguard.pro +++ b/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.") } }