diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-06-20 14:05:41 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-06-20 14:05:41 +0300 |
commit | cbf37258145f13ad9e30a4ff5d20c402d5f5f72f (patch) | |
tree | c3a59ca62dc5eae63097b69ce2f2d8157c39152e /admin/osx/macdeployqt.py | |
parent | bb480061e5e485c20f77ec4fcedcba3280b7cb7c (diff) |
Fix macdeployqt
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'admin/osx/macdeployqt.py')
-rwxr-xr-x | admin/osx/macdeployqt.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/admin/osx/macdeployqt.py b/admin/osx/macdeployqt.py index d28150fc4..644b92858 100755 --- a/admin/osx/macdeployqt.py +++ b/admin/osx/macdeployqt.py @@ -22,6 +22,7 @@ import subprocess import commands import sys from glob import glob +from distutils.version import LooseVersion def QueryQMake(attrib): return subprocess.check_output([qmake_path, '-query', attrib]).rstrip('\n') @@ -92,6 +93,8 @@ commands.append(['mkdir', '-p', resources_dir]) plugins_dir = os.path.join(bundle_dir, 'Contents', 'PlugIns') binaries = [i for i in glob(os.path.join(bundle_dir, 'Contents', 'MacOS', "*")) if is_exe(i)]; +qt_version = QueryQMake('QT_VERSION') +print "Using Qt", qt_version fixed_libraries = [] fixed_frameworks = [] |