forked from qt-creator/qt-creator
TargetSetupPage: Disable editing build directory for symbian
Shadow building is not supported so editing the path has no purpose. Reviewed-By: hunger
This commit is contained in:
@@ -176,6 +176,16 @@ bool Qt4MaemoTargetFactory::isMobileTarget(const QString &id)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool Qt4MaemoTargetFactory::supportsShadowBuilds(const QString &id)
|
||||
{
|
||||
Q_UNUSED(id);
|
||||
#ifdef Q_OS_WIN
|
||||
return false;
|
||||
#else
|
||||
return true;
|
||||
#endif
|
||||
}
|
||||
|
||||
ProjectExplorer::Target *Qt4MaemoTargetFactory::create(ProjectExplorer::Project *parent, const QString &id)
|
||||
{
|
||||
if (!canCreate(parent, id))
|
||||
|
||||
@@ -62,6 +62,7 @@ public:
|
||||
|
||||
QList<BuildConfigurationInfo> availableBuildConfigurations(const QString &id, const QString &proFilePath, const QtVersionNumber &minimumQtVersion);
|
||||
bool isMobileTarget(const QString &id);
|
||||
bool supportsShadowBuilds(const QString &id);
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user