diff options
author | Daniel Molkentin <danimo@owncloud.com> | 2014-10-02 01:56:54 +0400 |
---|---|---|
committer | Daniel Molkentin <danimo@owncloud.com> | 2014-10-02 01:57:14 +0400 |
commit | 1d8900dc196e419d775b840d8c8c041e577f69cd (patch) | |
tree | 5157555645ea7032634bd25180e7f6f83eb8da63 | |
parent | 171fd22d9188f6b0a63fbf633efcdb2e5c06389e (diff) |
OS X: write a qt.conf filev1.7.0beta2v1.7.0-beta2
-rwxr-xr-x | admin/osx/macdeployqt.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/admin/osx/macdeployqt.py b/admin/osx/macdeployqt.py index fe2c9c20b..ca826aa4d 100755 --- a/admin/osx/macdeployqt.py +++ b/admin/osx/macdeployqt.py @@ -93,6 +93,12 @@ binaries = [i for i in glob(os.path.join(bundle_dir, 'Contents', 'MacOS', "*")) fixed_libraries = [] fixed_frameworks = [] +def WriteQtConf(): + print "Writing qt.conf..." + with open(os.path.join(resources_dir, 'qt.conf'), 'w') as f: + f.write("[Paths]\nPlugins = PlugIns\n"); + f.close() + def GetBrokenLibraries(binary): #print "Checking libs for binary: %s" % binary output = subprocess.Popen(['otool', '-L', binary], stdout=subprocess.PIPE).communicate()[0] @@ -321,3 +327,4 @@ for command in commands: p = subprocess.Popen(command) os.waitpid(p.pid, 0) +WriteQtConf() |