mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
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:
parent
7d60a35f53
commit
c1e3603feb
@ -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}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user