Commit c6a74143 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Fix project locations for symbian and maemo

parent 07f269f2
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment