Move load(qt_plugin) into the < 5.8 block

This commit is contained in:
Kovid Goyal 2017-01-25 20:38:26 +05:30
parent c85a3167e0
commit 2693a2c614

View File

@ -364,11 +364,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
greaterThan(QT_MAJOR_VERSION, 5)|greaterThan(QT_MINOR_VERSION, 7): {{ greaterThan(QT_MAJOR_VERSION, 5)|greaterThan(QT_MINOR_VERSION, 7): {{
QT += theme_support-private QT += theme_support-private
}} else {{ }} else {{
load(qt_plugin)
QT += platformsupport-private QT += platformsupport-private
}} }}
HEADERS = {headers} HEADERS = {headers}