diff options
author | fanquake <fanquake@gmail.com> | 2020-11-09 17:49:11 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2020-11-30 14:54:20 +0800 |
commit | ccb0325b1bd1cee5a76382a16901dc80ea8f50d8 (patch) | |
tree | 11b2d0a9b56ef9e7743967a844ef1f63345438ea /contrib/macdeploy | |
parent | 6390a04862c043cd2bdf3610f3bcf9cb5526659f (diff) |
macdeploy: move qt_conf to where it's used
Diffstat (limited to 'contrib/macdeploy')
-rwxr-xr-x | contrib/macdeploy/macdeployqtplus | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/macdeploy/macdeployqtplus b/contrib/macdeploy/macdeployqtplus index d59e1d6fe5..2b744e936a 100755 --- a/contrib/macdeploy/macdeployqtplus +++ b/contrib/macdeploy/macdeployqtplus @@ -501,11 +501,6 @@ def deployPlugins(appBundleInfo: ApplicationBundleInfo, deploymentInfo: Deployme if dependency.frameworkName not in deploymentInfo.deployedFrameworks: deployFrameworks([dependency], appBundleInfo.path, destinationPath, strip, verbose, deploymentInfo) -qt_conf="""[Paths] -Translations=Resources -Plugins=PlugIns -""" - ap = ArgumentParser(description="""Improved version of macdeployqt. Outputs a ready-to-deploy app in a folder "dist" and optionally wraps it in a .dmg file. @@ -607,6 +602,11 @@ for file in lang_files: print("+ Installing qt.conf +") +qt_conf="""[Paths] +Translations=Resources +Plugins=PlugIns +""" + with open(os.path.join(applicationBundle.resourcesPath, "qt.conf"), "wb") as f: f.write(qt_conf.encode()) |