diff options
author | Eike Ziller <eike.ziller@nokia.com> | 2011-07-26 13:14:20 (GMT) |
---|---|---|
committer | Eike Ziller <eike.ziller@nokia.com> | 2011-07-26 15:31:07 (GMT) |
commit | 0b16c7a8a5522e3bc7414130dc609763bc2f4e3d (patch) | |
tree | cd97bc7ddf33570f58bee9583caa2a2df41303eb /tools | |
parent | 07565b925cb92f9d28ae4586f112e0ed52d2c451 (diff) | |
download | Qt-0b16c7a8a5522e3bc7414130dc609763bc2f4e3d.zip Qt-0b16c7a8a5522e3bc7414130dc609763bc2f4e3d.tar.gz Qt-0b16c7a8a5522e3bc7414130dc609763bc2f4e3d.tar.bz2 |
Fix typo.
Reviewed-by: TrustMe
Diffstat (limited to 'tools')
-rw-r--r-- | tools/macdeployqt/shared/shared.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/macdeployqt/shared/shared.cpp b/tools/macdeployqt/shared/shared.cpp index c411683..74dd4a4 100644 --- a/tools/macdeployqt/shared/shared.cpp +++ b/tools/macdeployqt/shared/shared.cpp @@ -350,18 +350,18 @@ DeploymentInfo deployQtFrameworks(QList<FrameworkInfo> frameworks, LogNormal(); LogNormal() << "Deploying Qt frameworks found inside:" << binaryPath; QStringList copiedFrameworks; - DeploymentInfo deploymenInfo; + DeploymentInfo deploymentInfo; while (frameworks.isEmpty() == false) { const FrameworkInfo framework = frameworks.takeFirst(); copiedFrameworks.append(framework.frameworkName); // Get the qt path from one of the Qt frameworks; - if (deploymenInfo.qtPath.isNull() && framework.frameworkName.contains("Qt") + if (deploymentInfo.qtPath.isNull() && framework.frameworkName.contains("Qt") && framework.frameworkDirectory.contains("/lib")) { - deploymenInfo.qtPath = framework.frameworkDirectory; - deploymenInfo.qtPath.chop(5); // remove "/lib/" + deploymentInfo.qtPath = framework.frameworkDirectory; + deploymentInfo.qtPath.chop(5); // remove "/lib/" } if (framework.installName.startsWith("/@executable_path/")) { @@ -394,8 +394,8 @@ DeploymentInfo deployQtFrameworks(QList<FrameworkInfo> frameworks, } } } - deploymenInfo.deployedFrameworks = copiedFrameworks; - return deploymenInfo; + deploymentInfo.deployedFrameworks = copiedFrameworks; + return deploymentInfo; } DeploymentInfo deployQtFrameworks(const QString &appBundlePath, bool useDebugLibs) |