Skip to content
Snippets Groups Projects
Commit f11a2580 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Add option to query QtVersion for mobile support

parent 289714b7
No related branches found
No related tags found
No related merge requests found
......@@ -1117,6 +1117,13 @@ QSet<QString> QtVersion::supportedTargetIds() const
return m_targetIds;
}
bool QtVersion::supportsMobileTarget() const
{
return supportsTargetId(Constants::S60_DEVICE_TARGET_ID) ||
supportsTargetId(Constants::S60_EMULATOR_TARGET_ID) ||
supportsTargetId(Constants::MAEMO_DEVICE_TARGET_ID);
}
QList<QSharedPointer<ProjectExplorer::ToolChain> > QtVersion::toolChains() const
{
updateToolChainAndMkspec();
......
......@@ -72,6 +72,7 @@ public:
bool supportsTargetId(const QString &id) const;
QSet<QString> supportedTargetIds() const;
bool supportsMobileTarget() const;
QList<ProjectExplorer::ToolChain::ToolChainType> possibleToolChainTypes() const;
ProjectExplorer::ToolChain *toolChain(ProjectExplorer::ToolChain::ToolChainType type) const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment