Make QWebEngine an opt-out for MinGW builds

QWebEngine does not support MinGW compilers. In order to continue
support for MinGW in swift for now, opt it out in MinGW builds.
So far this affects only the news page, which is acceptable. This
way we keep the advantages of Windows MinGW builds.
This commit is contained in:
Roland Winklmeier
2015-11-20 15:58:32 +01:00
parent 3d8dc81ffb
commit 3103389dd1
2 changed files with 10 additions and 2 deletions

View File

@@ -1,6 +1,9 @@
load(common_pre)
QT += core dbus gui svg network xml multimedia webenginewidgets
QT += core dbus gui svg network xml multimedia
# QWebEngine is not supported for MinGW
!win32-g++: QT += webenginewidgets
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets