forked from qt-creator/qt-creator
Removal of Symbian support
Qt Creator's support for Symbian was at its peak in version 2.4.x. Nobody really verified it in Qt Creator 2.5 or 2.6. It is most likely rotten. Let's remove it! Also, the Symbian support code was spread throughout the whole Qt Creator code base. The plugin interfaces evolved in the meantime and target platforms like Android or QNX have 99% of their code in separate plugins. In case anyone wants to revive Symbian support in Qt Creator, please create a plugin for it. Change-Id: I56a758a3e2fd5b8c64d9aeb8f63d8e916c4883be Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
This commit is contained in:
@@ -268,24 +268,14 @@ void Qt4BuildConfiguration::setShadowBuildAndDirectory(bool shadowBuild, const Q
|
||||
emitEvaluateBuildSystem();
|
||||
}
|
||||
|
||||
static inline QString symbianMakeTarget(QtSupport::BaseQtVersion::QmakeBuildConfigs buildConfig,
|
||||
const QString &type)
|
||||
{
|
||||
QString rc = (buildConfig & QtSupport::BaseQtVersion::DebugBuild) ?
|
||||
QLatin1String("debug-") : QLatin1String("release-");
|
||||
rc += type;
|
||||
return rc;
|
||||
}
|
||||
|
||||
QString Qt4BuildConfiguration::defaultMakeTarget() const
|
||||
{
|
||||
ToolChain *tc = ProjectExplorer::ToolChainProfileInformation::toolChain(target()->profile());
|
||||
QtSupport::BaseQtVersion *version = QtSupport::QtProfileInformation::qtVersion(target()->profile());
|
||||
if (!tc || !version || version->type() != QtSupport::Constants::SYMBIANQT)
|
||||
if (!tc || !version)
|
||||
return QString();
|
||||
|
||||
const QtSupport::BaseQtVersion::QmakeBuildConfigs buildConfig = qmakeBuildConfiguration();
|
||||
return symbianMakeTarget(buildConfig, tc->defaultMakeTarget());
|
||||
return tc->defaultMakeTarget();
|
||||
}
|
||||
|
||||
QString Qt4BuildConfiguration::makefile() const
|
||||
@@ -324,11 +314,6 @@ void Qt4BuildConfiguration::emitBuildDirectoryInitialized()
|
||||
emit buildDirectoryInitialized();
|
||||
}
|
||||
|
||||
void Qt4BuildConfiguration::emitS60CreatesSmartInstallerChanged()
|
||||
{
|
||||
emit s60CreatesSmartInstallerChanged();
|
||||
}
|
||||
|
||||
QStringList Qt4BuildConfiguration::configCommandLineArguments() const
|
||||
{
|
||||
QStringList result;
|
||||
|
||||
Reference in New Issue
Block a user