From c1e3603febff15c3c9b10ee8f05ce0e00ff4588e Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Mon, 23 Jan 2017 22:25:21 +0100 Subject: [PATCH] Fix build with Qt >= 5.8.0 platformsupport-private was modularized in Qt 5.8. Use the appropriate theme_support-private module --- setup/build.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/setup/build.py b/setup/build.py index 971d9a3406..138a5fcc43 100644 --- a/setup/build.py +++ b/setup/build.py @@ -360,8 +360,11 @@ class Build(Command): TARGET = headless PLUGIN_TYPE = platforms PLUGIN_CLASS_NAME = HeadlessIntegrationPlugin - load(qt_plugin) - QT += core-private gui-private platformsupport-private + QT += core-private gui-private + greaterThan(QT_MAJOR_VERSION, 5)|greaterThan(QT_MINOR_VERSION, 7): \ + QT += theme_support-private + else: \ + QT += platformsupport-private HEADERS = {headers} SOURCES = {sources} OTHER_FILES = {others}