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',
|
||||
# 'mediaservice',
|
||||
'platforms',
|
||||
'platformthemes',
|
||||
# 'playlistformats',
|
||||
'sqldrivers',
|
||||
# 'webview',
|
||||
@ -68,6 +67,7 @@ QT_PLUGINS = [
|
||||
if islinux:
|
||||
QT_PLUGINS += [
|
||||
'platforminputcontexts',
|
||||
'platformthemes',
|
||||
'wayland-decoration-client',
|
||||
'wayland-graphics-integration-client',
|
||||
'wayland-shell-integration',
|
||||
@ -75,8 +75,6 @@ if islinux:
|
||||
]
|
||||
else:
|
||||
QT_PLUGINS.append('styles')
|
||||
if ismacos:
|
||||
QT_PLUGINS.remove('platformthemes')
|
||||
|
||||
PYQT_MODULES = (
|
||||
'Qt',
|
||||
|
@ -166,8 +166,6 @@ def freeze(env, ext_dir, incdir):
|
||||
for x in QT_DLLS:
|
||||
copybin(os.path.join(QT_PREFIX, 'bin', x + '.dll'))
|
||||
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')
|
||||
tdir = j(env.app_base, 'plugins')
|
||||
for d in QT_PLUGINS:
|
||||
|
Loading…
x
Reference in New Issue
Block a user