forked from qt-creator/qt-creator
		
	C++: fix include/framework path handling.
Instead of having two lists of paths, now only one list is used where both include paths and framework paths can be mixed. This reflects the way the compiler is invoked, and retains the (correct) search order. Task-number: QTCREATORBUG-11599 Change-Id: I373953e3e305df5b7a0d10920e12d146584adf9f Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
		@@ -58,6 +58,7 @@ struct CPPTOOLS_EXPORT Utils
 | 
			
		||||
    static QString partsForFile(const QString &fileName);
 | 
			
		||||
    static QString unresolvedFileNameWithDelimiters(const CPlusPlus::Document::Include &include);
 | 
			
		||||
    static QString pathListToString(const QStringList &pathList);
 | 
			
		||||
    static QString pathListToString(const ProjectPart::HeaderPaths &pathList);
 | 
			
		||||
    static QList<CPlusPlus::Document::Ptr> snapshotToList(const CPlusPlus::Snapshot &snapshot);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
@@ -73,8 +74,7 @@ public:
 | 
			
		||||
                      const QString &title,
 | 
			
		||||
                      bool isGlobalSnapshot = false);
 | 
			
		||||
    void dumpWorkingCopy(const CppTools::CppModelManagerInterface::WorkingCopy &workingCopy);
 | 
			
		||||
    void dumpMergedEntities(const QStringList &mergedIncludePaths,
 | 
			
		||||
                            const QStringList &mergedFrameworkPaths,
 | 
			
		||||
    void dumpMergedEntities(const ProjectPart::HeaderPaths &mergedHeaderPaths,
 | 
			
		||||
                            const QByteArray &mergedMacros);
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user