Cmake: DS does not want automatic detection of cmake help file

Task-number: QDS-9780
Change-Id: I006b27ee21a910f6d5095f09406b0f4e95a62c35
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Tim Jenssen
2023-11-24 18:33:19 +01:00
parent 37228f6da6
commit f6b5afa8e4

View File

@@ -9,6 +9,7 @@
#include "cmaketoolmanager.h"
#include <coreplugin/dialogs/ioptionspage.h>
#include <coreplugin/icore.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <utils/detailswidget.h>
@@ -453,6 +454,9 @@ void CMakeToolItemConfigWidget::onBinaryPathEditingFinished()
void CMakeToolItemConfigWidget::updateQchFilePath()
{
// QDS does not want automatic detection of cmake help file
if (Core::ICore::isQtDesignStudio())
return;
if (m_qchFileChooser->filePath().isEmpty())
m_qchFileChooser->setFilePath(CMakeTool::searchQchFile(m_binaryChooser->filePath()));
}