aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/main.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2023-08-28 15:31:40 +0200
committerEike Ziller <eike.ziller@qt.io>2023-08-30 11:23:46 +0000
commit4da8430cab471afb6f43cd540d20e88be6545a10 (patch)
treedca006995ed8a7f4a85315174e83ad1def587071 /src/app/main.cpp
parent37a17cd6bac45426398a2b890cd8e1532f12b3f6 (diff)
ExtensionSystem: Always generate profiling data
The overhead is minimal and can be shown at a later point even when not printing profiling data to the terminal. Move the data to the plugin spec for later retrieval. Task-number: QTCREATORBUG-29540 Change-Id: I392ff85a8a8b5c01ecba07fefd06e5029f692bf6 Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/app/main.cpp')
-rw-r--r--src/app/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/main.cpp b/src/app/main.cpp
index cccb492d24..b403799e93 100644
--- a/src/app/main.cpp
+++ b/src/app/main.cpp
@@ -644,6 +644,7 @@ int main(int argc, char **argv)
PluginManager::setPluginIID(QLatin1String("org.qt-project.Qt.QtCreatorPlugin"));
PluginManager::setInstallSettings(installSettings);
PluginManager::setSettings(settings);
+ PluginManager::startProfiling();
Utils::BaseAspect::setQtcSettings(settings);