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 <christian.stenger@qt.io>
This commit is contained in:
hjk
2023-02-22 10:54:17 +01:00
parent 143835aea8
commit 8b243290fb

View File

@@ -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();