Get it building on windows

This commit is contained in:
Kovid Goyal 2021-12-23 11:34:50 +05:30
parent a448bc7079
commit fb5e0bf2c9
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 1 additions and 5 deletions

View File

@ -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',

View File

@ -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: