From f18eb6727601756a7dc2e47f676ae732ddb42208 Mon Sep 17 00:00:00 2001 From: Daniel Teske Date: Tue, 22 Oct 2013 16:36:19 +0200 Subject: Generic Project: Change order of includes Task-number: QTCREATORBUG-10198 Change-Id: Iff86f5ea19a4e4730b1bb1d21381d689369efea1 Reviewed-by: Tobias Hunger --- src/plugins/genericprojectmanager/genericproject.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins') diff --git a/src/plugins/genericprojectmanager/genericproject.cpp b/src/plugins/genericprojectmanager/genericproject.cpp index 784f425235..3a8af924bb 100644 --- a/src/plugins/genericprojectmanager/genericproject.cpp +++ b/src/plugins/genericprojectmanager/genericproject.cpp @@ -254,6 +254,8 @@ void GenericProject::refresh(RefreshOptions options) part->displayName = displayName(); part->projectFile = projectFilePath(); + part->includePaths += allIncludePaths(); + Kit *k = activeTarget() ? activeTarget()->kit() : KitManager::defaultKit(); if (ToolChain *tc = ToolChainKitInformation::toolChain(k)) { QStringList cxxflags; // FIXME: Can we do better? @@ -262,7 +264,6 @@ void GenericProject::refresh(RefreshOptions options) } part->cxxVersion = CppTools::ProjectPart::CXX11; // assume C++11 - part->includePaths += allIncludePaths(); part->defines += m_defines; // ### add _defines. -- cgit v1.2.1