mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44: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
|
||||
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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user