Update version of Qt in OS X build to 5.5.1

Needed to prevent QT from using the system openssl library. For Qt >=
5.5 it uses Apple's TextScure API instead of openssl.
This commit is contained in:
Kovid Goyal 2016-01-30 15:56:27 +05:30
parent fc7d4830a9
commit 59d1a6f2c6
2 changed files with 10 additions and 6 deletions

View File

@ -182,6 +182,7 @@ if iswindows:
podofo_inc = os.path.join(sw_inc_dir, 'podofo') podofo_inc = os.path.join(sw_inc_dir, 'podofo')
podofo_lib = sw_lib_dir podofo_lib = sw_lib_dir
elif isosx: elif isosx:
QT_DLLS += ['Qt5DBus']
QT_FRAMEWORKS = [x.replace('5', '') for x in QT_DLLS] QT_FRAMEWORKS = [x.replace('5', '') for x in QT_DLLS]
sw = os.environ.get('SW', os.path.expanduser('~/sw')) sw = os.environ.get('SW', os.path.expanduser('~/sw'))
podofo_inc = os.path.join(sw, 'include', 'podofo') podofo_inc = os.path.join(sw, 'include', 'podofo')

View File

@ -262,7 +262,10 @@ class Py2App(object):
@flush @flush
def get_local_dependencies(self, path_to_lib): def get_local_dependencies(self, path_to_lib):
for x, is_id in self.get_dependencies(path_to_lib): for x, is_id in self.get_dependencies(path_to_lib):
for y in (SW+'/lib/', SW+'/qt/lib/', SW+'/python/Python.framework/', SW+'/private/ssl/lib/'): if x.startswith('@rpath/Qt'):
yield x, x[len('@rpath/'):], is_id
else:
for y in (SW+'/lib/', SW+'/python/Python.framework/', SW+'/private/ssl/lib/'):
if x.startswith(y): if x.startswith(y):
if y == SW+'/python/Python.framework/': if y == SW+'/python/Python.framework/':
y = SW+'/python/' y = SW+'/python/'