diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2019-04-12 14:49:59 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2019-04-23 15:52:05 +0000 |
commit | 261d7752b00dfe7191ebd1436e9e96a5212e1bb3 (patch) | |
tree | 08e5040fe25cd244221b0dd5f9b296ef0487a331 /src/plugins/projectexplorer/target.cpp | |
parent | 8827d83115b5b3c88446dd3ba50341ca3b738c0a (diff) |
RemoteLinux: Retrieve deployment info from local install root
This provides correct deployment information as seen by the build system
when Qt Creator cannot retrieve it directly.
It's most useful for autotools and cmake projects, but can also help
with qmake in certain edge cases.
[ChangeLog] It is no longer necessary to provide a
QtCreatorDeployment.txt file when using CMake projects with remote Linux
devices.
Fixes: QTCREATORBUG-21855
Change-Id: I27e07a45dd1565e489f4b573cc3fff8191c57d9b
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/target.cpp')
-rw-r--r-- | src/plugins/projectexplorer/target.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/target.cpp b/src/plugins/projectexplorer/target.cpp index a6a5c9a94c..6c05bb100f 100644 --- a/src/plugins/projectexplorer/target.cpp +++ b/src/plugins/projectexplorer/target.cpp @@ -694,6 +694,11 @@ QVariant Target::additionalData(Core::Id id) const return project()->additionalData(id, this); } +MakeInstallCommand Target::makeInstallCommand(const QString &installRoot) const +{ + return project()->makeInstallCommand(this, installRoot); +} + void Target::updateDeviceState() { IDevice::ConstPtr current = DeviceKitAspect::device(kit()); |