From fb5e0bf2c96bae9a59d33a3b9aa442a15387d420 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 23 Dec 2021 11:34:50 +0530 Subject: [PATCH] Get it building on windows --- bypy/init_env.py | 4 +--- bypy/windows/__main__.py | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/bypy/init_env.py b/bypy/init_env.py index cce8b3065c..12708243e9 100644 --- a/bypy/init_env.py +++ b/bypy/init_env.py @@ -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', diff --git a/bypy/windows/__main__.py b/bypy/windows/__main__.py index 4925fbd8e7..114ca2538f 100644 --- a/bypy/windows/__main__.py +++ b/bypy/windows/__main__.py @@ -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: