diff options
author | hjk <hjk@qt.io> | 2023-02-22 12:00:15 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2023-02-27 07:29:50 +0000 |
commit | 8ab0c965a49694ae25b35866854b0e312e0a2f39 (patch) | |
tree | f98a83f853b76b280fcd35ad1f1508eb097385b3 | |
parent | 99b1cc5c2494e56c740bf1d8665a5bf750a25f39 (diff) | |
download | qt-creator-8ab0c965a49694ae25b35866854b0e312e0a2f39.tar.gz |
Qnx: Mark new debuggers from setup dialog as not autodetected
And use the right device for its base environment.
Change-Id: Ida6d9c5dd88b766659311f4eacca8ced3c5531cd
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
-rw-r--r-- | src/plugins/qnx/qnxconfiguration.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/qnx/qnxconfiguration.cpp b/src/plugins/qnx/qnxconfiguration.cpp index c3ec91d1f4..7a8f19926f 100644 --- a/src/plugins/qnx/qnxconfiguration.cpp +++ b/src/plugins/qnx/qnxconfiguration.cpp @@ -217,13 +217,12 @@ void QnxConfiguration::createTools(const Target &target) QVariant QnxConfiguration::createDebugger(const Target &target) { - Utils::Environment sysEnv = Utils::Environment::systemEnvironment(); + Environment sysEnv = m_qnxHost.deviceEnvironment(); sysEnv.modify(qnxEnvironmentItems()); Debugger::DebuggerItem debugger; debugger.setCommand(target.m_debuggerPath); debugger.reinitializeFromFile(nullptr, &sysEnv); - debugger.setAutoDetected(true); debugger.setUnexpandedDisplayName(Tr::tr("Debugger for %1 (%2)") .arg(displayName()) .arg(target.shortDescription())); |