forked from qt-creator/qt-creator
		
	Windows: Add Support for Windows SDKs
Detect SDKs before VC installations. Add static list of installations initialized on demand. List SDKs and VC with platforms settings depending on Qt-version. Detect installations properly, checking existence of setup scripts. Handle delayed shell variable expansion used by SDK setup scripts. Tested with SDK 6.1 onwards (32bit/64bit). Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
This commit is contained in:
		@@ -453,8 +453,9 @@ void QtOptionsPageWidget::showEnvironmentPage(QTreeWidgetItem *item)
 | 
			
		||||
            makeS60Visible(false);
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
        QList<ProjectExplorer::ToolChain::ToolChainType> types = m_versions.at(index)->possibleToolChainTypes();
 | 
			
		||||
        QSet<QString> targets = m_versions.at(index)->supportedTargetIds();
 | 
			
		||||
        const QSharedPointerQtVersion qtVersion = m_versions.at(index);
 | 
			
		||||
        QList<ProjectExplorer::ToolChain::ToolChainType> types = qtVersion->possibleToolChainTypes();
 | 
			
		||||
        QSet<QString> targets = qtVersion->supportedTargetIds();
 | 
			
		||||
        if (types.isEmpty()) {
 | 
			
		||||
            makeMSVCVisible(false);
 | 
			
		||||
            makeMingwVisible(false);
 | 
			
		||||
@@ -473,7 +474,7 @@ void QtOptionsPageWidget::showEnvironmentPage(QTreeWidgetItem *item)
 | 
			
		||||
            makeMSVCVisible(false);
 | 
			
		||||
            makeMingwVisible(false);
 | 
			
		||||
            makeS60Visible(false);
 | 
			
		||||
            QStringList msvcEnvironments = ProjectExplorer::ToolChain::availableMSVCVersions();
 | 
			
		||||
            const QStringList msvcEnvironments = ProjectExplorer::ToolChain::availableMSVCVersions(qtVersion->isQt64Bit());
 | 
			
		||||
            if (msvcEnvironments.count() == 0) {
 | 
			
		||||
                m_ui->msvcLabel->setVisible(true);
 | 
			
		||||
                m_ui->msvcNotFoundLabel->setVisible(true);
 | 
			
		||||
 
 | 
			
		||||
@@ -6,7 +6,7 @@
 | 
			
		||||
   <rect>
 | 
			
		||||
    <x>0</x>
 | 
			
		||||
    <y>0</y>
 | 
			
		||||
    <width>405</width>
 | 
			
		||||
    <width>431</width>
 | 
			
		||||
    <height>474</height>
 | 
			
		||||
   </rect>
 | 
			
		||||
  </property>
 | 
			
		||||
@@ -130,7 +130,7 @@
 | 
			
		||||
        <item row="3" column="0">
 | 
			
		||||
         <widget class="QLabel" name="msvcLabel">
 | 
			
		||||
          <property name="text">
 | 
			
		||||
           <string>MSVC Version:</string>
 | 
			
		||||
           <string>Toolchain:</string>
 | 
			
		||||
          </property>
 | 
			
		||||
         </widget>
 | 
			
		||||
        </item>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user