summaryrefslogtreecommitdiffstats
path: root/src/macdeployqt/shared/shared.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@nokia.com>2011-07-27 10:11:42 +0200
committerQt by Nokia <qt-info@nokia.com>2011-07-27 13:31:27 +0200
commit75250731230f3b21eb49025fe9cb597839ffc775 (patch)
tree6d7a4388ff7fb6e178e8aea77cd2ec82745080f4 /src/macdeployqt/shared/shared.h
parentd4e0c8ce241a5b145c59f345f6a55c2616242fcb (diff)
Make mac(deploy|change)qt handle dylibs that use Qt inside an app bundle.
Needed e.g. for Qt Creator, which is a bundle of plugins. Ported from 4.8 4bda273330f6705b79cf18c3ea8ef294f58a5239 Change-Id: Icc966fb1f663c3156ac057acba3923a6db27ee09 Reviewed-on: http://codereview.qt.nokia.com/2257 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Diffstat (limited to 'src/macdeployqt/shared/shared.h')
-rw-r--r--src/macdeployqt/shared/shared.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/macdeployqt/shared/shared.h b/src/macdeployqt/shared/shared.h
index 5eec3cfbb..ab9ada2d1 100644
--- a/src/macdeployqt/shared/shared.h
+++ b/src/macdeployqt/shared/shared.h
@@ -77,6 +77,7 @@ class ApplicationBundleInfo
public:
QString path;
QString binaryPath;
+ QStringList libraryPaths;
};
class DeploymentInfo
@@ -91,7 +92,7 @@ public:
inline QDebug operator<<(QDebug debug, const ApplicationBundleInfo &info);
void changeQtFrameworks(const QString appPath, const QString &qtPath, bool useDebugLibs);
-void changeQtFrameworks(const QList<FrameworkInfo> frameworks, const QString &appBinaryPath, const QString &qtPath);
+void changeQtFrameworks(const QList<FrameworkInfo> frameworks, const QStringList &binaryPaths, const QString &qtPath);
FrameworkInfo parseOtoolLibraryLine(const QString &line, bool useDebugLibs);
QString findAppBinary(const QString &appBundlePath);
@@ -103,7 +104,7 @@ DeploymentInfo deployQtFrameworks(QList<FrameworkInfo> frameworks, const QString
void createQtConf(const QString &appBundlePath);
void deployPlugins(const QString &appBundlePath, DeploymentInfo deploymentInfo, bool useDebugLibs);
void changeIdentification(const QString &id, const QString &binaryPath);
-void changeInstallName(const QString &oldName, const QString &newName, const QString &binaryPath);
+void changeInstallName(const QString &oldName, const QString &newName, const QStringList &binaryPaths);
QString findAppBinary(const QString &appBundlePath);
void createDiskImage(const QString &appBundlePath);