forked from qt-creator/qt-creator
		
	introduce qmakeProperty(), use instead of versionInfo() where applicable
the idea is to encapsulate accesses to specific variables. Change-Id: Icafd2c85de6178db1a492a5dd36dde7f1925ea21 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
		@@ -503,7 +503,7 @@ Utils::FileName Qt4BuildConfiguration::extractSpecFromArguments(QString *args,
 | 
			
		||||
        return Utils::FileName();
 | 
			
		||||
 | 
			
		||||
    Utils::FileName baseMkspecDir = Utils::FileName::fromUserInput(
 | 
			
		||||
            version->versionInfo().value(QLatin1String("QT_HOST_DATA")) + QLatin1String("/mkspecs"));
 | 
			
		||||
            version->qmakeProperty("QT_HOST_DATA") + QLatin1String("/mkspecs"));
 | 
			
		||||
 | 
			
		||||
    // if the path is relative it can be
 | 
			
		||||
    // relative to the working directory (as found in the Makefiles)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user