forked from qt-creator/qt-creator
		
	s/profile/kit/
* Rename profiles to kits.
* Update some strings:
   * projects mode has a Kits tab, not a Targets tab.
   * " Settings" was dropped from the sub-tabs of the Kits tab
   * menu entry "Build/Open Build/Run Target Selector" was renamed
     to "Build/Open Build and Run Kits Selector".
   * Use "Kit" instead of "Target" in miniprojecttargetselector.
     (The class was not renamed as it does indeed select targets,
      not kits)
Change-Id: I0727e086e2dfa0e8aaaf89fdc6f2e3596c7a4314
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
			
			
This commit is contained in:
		
				
					committed by
					
						
						Eike Ziller
					
				
			
			
				
	
			
			
			
						parent
						
							328d205b62
						
					
				
				
					commit
					8ba422d07c
				
			@@ -39,7 +39,7 @@
 | 
			
		||||
#include <projectexplorer/target.h>
 | 
			
		||||
 | 
			
		||||
#include <qt4projectmanager/qt4project.h>
 | 
			
		||||
#include <qtsupport/qtprofileinformation.h>
 | 
			
		||||
#include <qtsupport/qtkitinformation.h>
 | 
			
		||||
#include <qtsupport/qtsupportconstants.h>
 | 
			
		||||
 | 
			
		||||
using namespace ProjectExplorer;
 | 
			
		||||
@@ -119,15 +119,15 @@ QList<Core::Id> AndroidDeployConfigurationFactory::availableCreationIds(Target *
 | 
			
		||||
    if (!qobject_cast<Qt4ProjectManager::Qt4Project *>(parent->project()))
 | 
			
		||||
        return ids;
 | 
			
		||||
 | 
			
		||||
    if (!parent->project()->supportsProfile(parent->profile()))
 | 
			
		||||
    if (!parent->project()->supportsKit(parent->kit()))
 | 
			
		||||
        return ids;
 | 
			
		||||
 | 
			
		||||
    ToolChain *tc = ToolChainProfileInformation::toolChain(parent->profile());
 | 
			
		||||
    ToolChain *tc = ToolChainKitInformation::toolChain(parent->kit());
 | 
			
		||||
 | 
			
		||||
    if (!tc || tc->targetAbi().osFlavor() != Abi::AndroidLinuxFlavor)
 | 
			
		||||
        return ids;
 | 
			
		||||
 | 
			
		||||
    if (QtSupport::QtProfileInformation::qtVersion(parent->profile())->type() != QLatin1String(Constants::ANDROIDQT))
 | 
			
		||||
    if (QtSupport::QtKitInformation::qtVersion(parent->kit())->type() != QLatin1String(Constants::ANDROIDQT))
 | 
			
		||||
        return ids;
 | 
			
		||||
 | 
			
		||||
    ids << Core::Id(ANDROID_DEPLOYCONFIGURATION_ID);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user