From 097b923871d278e490941dee5bf41c90f6396aaf Mon Sep 17 00:00:00 2001 From: Michael Schuster Date: Mon, 14 Oct 2019 02:01:56 +0200 Subject: [PATCH] Add new "styles" plugin to macOS deployment script for Qt 5.12.5 Qt 5.12 needs this library to use the correct style for Light / Dark Mode: styles/libqmacstyle.dylib The interface looks like from the 1990's without this library ;-) Signed-off-by: Michael Schuster --- admin/osx/macdeployqt.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/admin/osx/macdeployqt.py b/admin/osx/macdeployqt.py index 91f29ac04..2571b8eb9 100755 --- a/admin/osx/macdeployqt.py +++ b/admin/osx/macdeployqt.py @@ -32,11 +32,12 @@ FRAMEWORK_SEARCH_PATH=[ os.path.join(os.environ['HOME'], 'Library/Frameworks') ] -LIBRARY_SEARCH_PATH=['/usr/local/lib', '/usr/local/Qt-5.6.2/lib', '.'] +LIBRARY_SEARCH_PATH=['/usr/local/lib', '/usr/local/Qt-5.12.5/lib', '.'] QT_PLUGINS = [ 'sqldrivers/libqsqlite.dylib', 'platforms/libqcocoa.dylib', + 'styles/libqmacstyle.dylib', 'imageformats/libqgif.dylib', 'imageformats/libqico.dylib', 'imageformats/libqjpeg.dylib', @@ -46,7 +47,7 @@ QT_PLUGINS = [ QT_PLUGINS_SEARCH_PATH=[ # os.path.join(os.environ['QTDIR'], 'plugins'), # '/usr/local/Cellar/qt/5.2.1/plugins', - '/usr/local/Qt-5.6.2/plugins', + '/usr/local/Qt-5.12.5/plugins', ]