diff options
author | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2014-10-29 11:06:37 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2015-01-08 10:44:40 +0100 |
commit | 0fcbcb9ddf7fab9698bccbd75f1190640f641439 (patch) | |
tree | ac023966b7672615ef30f5c72a2c47a40ea2d180 /src/lib/corelib/buildgraph/productinstaller.h | |
parent | 79bd57e2e8e4a8704c3588de8cc49487abf52652 (diff) |
Do installation at build time.
This is useful for e.g. "packaging products" that work
on the contents of installation folders. For this purpose,
we also expose the install root as a property in the qbs
module.
Opt-out is available, and the "install" command still works.
Change-Id: I346a8e6d19fc24b38660201b1f6fa510acc6676c
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Diffstat (limited to 'src/lib/corelib/buildgraph/productinstaller.h')
-rw-r--r-- | src/lib/corelib/buildgraph/productinstaller.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/productinstaller.h b/src/lib/corelib/buildgraph/productinstaller.h index e237358bc..217c40aa8 100644 --- a/src/lib/corelib/buildgraph/productinstaller.h +++ b/src/lib/corelib/buildgraph/productinstaller.h @@ -54,9 +54,10 @@ public: InstallOptions &options, QString *targetDirectory = 0); static void initInstallRoot(const TopLevelProject *project, InstallOptions &options); -private: void removeInstallRoot(); void copyFile(const Artifact *artifact); + +private: void handleError(const QString &message); const TopLevelProjectConstPtr m_project; |