forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user