mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Get it building on windows
This commit is contained in:
parent
a448bc7079
commit
fb5e0bf2c9
@ -58,7 +58,6 @@ QT_PLUGINS = [
|
|||||||
'iconengines',
|
'iconengines',
|
||||||
# 'mediaservice',
|
# 'mediaservice',
|
||||||
'platforms',
|
'platforms',
|
||||||
'platformthemes',
|
|
||||||
# 'playlistformats',
|
# 'playlistformats',
|
||||||
'sqldrivers',
|
'sqldrivers',
|
||||||
# 'webview',
|
# 'webview',
|
||||||
@ -68,6 +67,7 @@ QT_PLUGINS = [
|
|||||||
if islinux:
|
if islinux:
|
||||||
QT_PLUGINS += [
|
QT_PLUGINS += [
|
||||||
'platforminputcontexts',
|
'platforminputcontexts',
|
||||||
|
'platformthemes',
|
||||||
'wayland-decoration-client',
|
'wayland-decoration-client',
|
||||||
'wayland-graphics-integration-client',
|
'wayland-graphics-integration-client',
|
||||||
'wayland-shell-integration',
|
'wayland-shell-integration',
|
||||||
@ -75,8 +75,6 @@ if islinux:
|
|||||||
]
|
]
|
||||||
else:
|
else:
|
||||||
QT_PLUGINS.append('styles')
|
QT_PLUGINS.append('styles')
|
||||||
if ismacos:
|
|
||||||
QT_PLUGINS.remove('platformthemes')
|
|
||||||
|
|
||||||
PYQT_MODULES = (
|
PYQT_MODULES = (
|
||||||
'Qt',
|
'Qt',
|
||||||
|
@ -166,8 +166,6 @@ def freeze(env, ext_dir, incdir):
|
|||||||
for x in QT_DLLS:
|
for x in QT_DLLS:
|
||||||
copybin(os.path.join(QT_PREFIX, 'bin', x + '.dll'))
|
copybin(os.path.join(QT_PREFIX, 'bin', x + '.dll'))
|
||||||
copybin(os.path.join(QT_PREFIX, 'bin', 'QtWebEngineProcess.exe'))
|
copybin(os.path.join(QT_PREFIX, 'bin', 'QtWebEngineProcess.exe'))
|
||||||
for x in 'libGLESv2 libEGL'.split():
|
|
||||||
copybin(os.path.join(QT_PREFIX, 'bin', x + '.dll'))
|
|
||||||
plugdir = j(QT_PREFIX, 'plugins')
|
plugdir = j(QT_PREFIX, 'plugins')
|
||||||
tdir = j(env.app_base, 'plugins')
|
tdir = j(env.app_base, 'plugins')
|
||||||
for d in QT_PLUGINS:
|
for d in QT_PLUGINS:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user