From 8b243290fbdf458970e229ac5d32e7f45576a3d2 Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 22 Feb 2023 10:54:17 +0100 Subject: [PATCH] Qnx: Use some placeholder for Qnx configuration names The authoritive source for that is apparently some qconfig/*.xml file which is not needed for actual building, so it might be missing in some otherwise functioning setups. Change-Id: I2aff53474e7fa0f7ee1c5bd0d8213b648cb894b7 Reviewed-by: Christian Stenger --- src/plugins/qnx/qnxconfiguration.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/plugins/qnx/qnxconfiguration.cpp b/src/plugins/qnx/qnxconfiguration.cpp index 8e8751ceb1d..bb3e97995ae 100644 --- a/src/plugins/qnx/qnxconfiguration.cpp +++ b/src/plugins/qnx/qnxconfiguration.cpp @@ -391,6 +391,10 @@ void QnxConfiguration::setDefaultConfiguration(const FilePath &envScript) if (qccPath.exists()) m_qccCompiler = qccPath; + // Some fall back in case the qconfig dir with .xml files is not found later + if (m_configName.isEmpty()) + m_configName = QString("%1 - %2").arg(m_qnxHost.fileName(), m_qnxTarget.fileName()); + updateTargets(); assignDebuggersToTargets();