aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/kitmanager.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2019-10-14 17:43:46 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2019-10-24 13:22:52 +0000
commitefa9fdba6342be3d9730235de7301be63c4a39ae (patch)
tree7e521ac761df7ed459c877e3f4c81c5ed949fa7c /src/plugins/projectexplorer/kitmanager.h
parent8d91258cfae613dd4610d95762520130fdbf28ec (diff)
ProjectExplorer: Add the ability to create a kit matching a binary
That is, the user passes the path to an application or library, and Qt Creator sets up a kit with a toolchain that matches the file's architecture. Fixes: QTCREATORBUG-8216 Change-Id: Ia16701d8b89df2cfee9d3cbe36fb72a4ed05c407 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/kitmanager.h')
-rw-r--r--src/plugins/projectexplorer/kitmanager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/kitmanager.h b/src/plugins/projectexplorer/kitmanager.h
index c33c176e5c..610ee159a2 100644
--- a/src/plugins/projectexplorer/kitmanager.h
+++ b/src/plugins/projectexplorer/kitmanager.h
@@ -208,6 +208,8 @@ private:
static void registerKitAspect(KitAspect *ki);
static void deregisterKitAspect(KitAspect *ki);
+ static void setBinaryForKit(const Utils::FilePath &binary);
+
// Make sure the this is only called after all
// KitAspects are registered!
static void restoreKits();