forked from qt-creator/qt-creator
Fix project locations for symbian and maemo
This commit is contained in:
@@ -146,11 +146,14 @@ QString Qt4MaemoTargetFactory::buildNameForId(const QString &id) const
|
||||
|
||||
QString Qt4MaemoTargetFactory::shadowBuildDirectory(const QString &profilePath, const QString &id, const QString &suffix)
|
||||
{
|
||||
//TODO why?
|
||||
#if defined(Q_OS_WIN)
|
||||
return profilePath;
|
||||
#endif
|
||||
// No shadowbuilding for windows!
|
||||
Q_UNUSED(id);
|
||||
Q_UNUSED(suffix);
|
||||
return QFileInfo(profilePath).absolutePath();
|
||||
#else
|
||||
return Qt4BaseTargetFactory::shadowBuildDirectory(profilePath, id, suffix);
|
||||
#endif
|
||||
}
|
||||
|
||||
bool Qt4MaemoTargetFactory::isMobileTarget(const QString &id)
|
||||
|
||||
@@ -127,12 +127,11 @@ ProjectExplorer::Target *Qt4SymbianTargetFactory::restore(ProjectExplorer::Proje
|
||||
return 0;
|
||||
}
|
||||
|
||||
QString Qt4SymbianTargetFactory::shadowBuildDirectory(const QString &projectDirectory, const QString &id, const QString &suffix)
|
||||
QString Qt4SymbianTargetFactory::shadowBuildDirectory(const QString &profilePath, const QString &id, const QString &suffix)
|
||||
{
|
||||
Q_UNUSED(projectDirectory);
|
||||
Q_UNUSED(id);
|
||||
Q_UNUSED(suffix);
|
||||
return projectDirectory;
|
||||
return QFileInfo(profilePath).absolutePath();
|
||||
}
|
||||
|
||||
QList<ProjectExplorer::Task> Qt4SymbianTargetFactory::reportIssues(const QString &proFile)
|
||||
|
||||
Reference in New Issue
Block a user