forked from qt-creator/qt-creator
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:
@@ -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()));
|
||||
}
|
||||
|
Reference in New Issue
Block a user