GenericProject: Set deployment data, if available

We use the same approach as for CMake, namely the
QtCreatorDeployment.txt file.

Fixes: QTCREATORBUG-19202
Change-Id: I50605b8236b26f0c911e2448330019e94753af19
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Kandeler
2018-11-14 10:23:47 +01:00
parent 73b1a765f3
commit 1950b38668
4 changed files with 53 additions and 2 deletions

View File

@@ -28,6 +28,7 @@
#include <projectexplorer/project.h>
namespace CppTools { class CppProjectUpdater; }
namespace Utils { class FileSystemWatcher; }
namespace GenericProjectManager {
namespace Internal {
@@ -64,6 +65,7 @@ private:
QHash<QString, QString> *map = nullptr) const;
void refreshCppCodeModel();
void updateDeploymentData();
void activeTargetWasChanged();
void activeBuildConfigurationWasChanged();
@@ -82,6 +84,7 @@ private:
CppTools::CppProjectUpdater *m_cppCodeModelUpdater = nullptr;
ProjectExplorer::Target *m_activeTarget = nullptr;
Utils::FileSystemWatcher * const m_deployFileWatcher;
};
} // namespace Internal