From e685a96da6dcb62313152ce8995238245a25fd20 Mon Sep 17 00:00:00 2001 From: Erik Verbruggen <erik.verbruggen@nokia.com> Date: Tue, 27 Mar 2012 10:07:37 +0200 Subject: [PATCH] Fixed debug output. Change-Id: I2edff4126f3504661957529c198a1fc1ea169a08 Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com> --- src/plugins/cpptools/cppmodelmanager.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/plugins/cpptools/cppmodelmanager.cpp b/src/plugins/cpptools/cppmodelmanager.cpp index 773e43688ee..c5032e5ba59 100644 --- a/src/plugins/cpptools/cppmodelmanager.cpp +++ b/src/plugins/cpptools/cppmodelmanager.cpp @@ -908,11 +908,12 @@ void CppModelManager::updateProjectInfo(const ProjectInfo &pinfo) #if 0 // Tons of debug output... qDebug()<<"========= CppModelManager::updateProjectInfo ======"; - qDebug()<<" for project:"<< pinfo.project.data()->file()->fileName(); - foreach (const ProjectPart::Ptr &part, pinfo.projectParts) { + qDebug()<<" for project:"<< pinfo.project().data()->document()->fileName(); + foreach (const ProjectPart::Ptr &part, pinfo.projectParts()) { qDebug() << "=== part ==="; qDebug() << "language:" << (part->language == CXX ? "C++" : "ObjC++"); - qDebug() << "compilerflags:" << part->flags; + qDebug() << "C++11:" << part->cxx11Enabled; + qDebug() << "Qt version:" << part->qtVersion; qDebug() << "precompiled header:" << part->precompiledHeaders; qDebug() << "defines:" << part->defines; qDebug() << "includes:" << part->includePaths; -- GitLab