Fix build with Qt >= 5.8.0

platformsupport-private was modularized in Qt 5.8.
Use the appropriate theme_support-private module
This commit is contained in:
Jelle van der Waa 2017-01-23 22:25:21 +01:00
parent 7d60a35f53
commit c1e3603feb

View File

@ -360,8 +360,11 @@ class Build(Command):
TARGET = headless TARGET = headless
PLUGIN_TYPE = platforms PLUGIN_TYPE = platforms
PLUGIN_CLASS_NAME = HeadlessIntegrationPlugin PLUGIN_CLASS_NAME = HeadlessIntegrationPlugin
load(qt_plugin) QT += core-private gui-private
QT += core-private gui-private platformsupport-private greaterThan(QT_MAJOR_VERSION, 5)|greaterThan(QT_MINOR_VERSION, 7): \
QT += theme_support-private
else: \
QT += platformsupport-private
HEADERS = {headers} HEADERS = {headers}
SOURCES = {sources} SOURCES = {sources}
OTHER_FILES = {others} OTHER_FILES = {others}