本文整理汇总了C++中BaseQtVersion::hasQmlDump方法的典型用法代码示例。如果您正苦于以下问题:C++ BaseQtVersion::hasQmlDump方法的具体用法?C++ BaseQtVersion::hasQmlDump怎么用?C++ BaseQtVersion::hasQmlDump使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类BaseQtVersion
的用法示例。
在下文中一共展示了BaseQtVersion::hasQmlDump方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: debuggingHelperBuildFinished
// Update with results of terminated helper build
void QtOptionsPageWidget::debuggingHelperBuildFinished(int qtVersionId, const QString &output, DebuggingHelperBuildTask::Tools tools)
{
const int index = findVersionById(m_versions, qtVersionId);
if (index == -1)
return; // Oops, somebody managed to delete the version
BaseQtVersion *version = m_versions.at(index);
// Update item view
QTreeWidgetItem *item = treeItemForIndex(index);
QTC_ASSERT(item, return);
DebuggingHelperBuildTask::Tools buildFlags
= item->data(0, BuildRunningRole).value<DebuggingHelperBuildTask::Tools>();
buildFlags &= ~tools;
item->setData(0, BuildRunningRole, QVariant::fromValue(buildFlags));
item->setData(0, BuildLogRole, output);
bool success = true;
if (tools & DebuggingHelperBuildTask::GdbDebugging)
success &= version->hasGdbDebuggingHelper();
if (tools & DebuggingHelperBuildTask::QmlDebugging)
success &= version->hasQmlDebuggingLibrary();
if (tools & DebuggingHelperBuildTask::QmlDump)
success &= version->hasQmlDump();
if (tools & DebuggingHelperBuildTask::QmlObserver)
success &= version->hasQmlObserver();
if (!success)
showDebuggingBuildLog(item);
updateDebuggingHelperUi();
}