Maemo: Fix default deployment paths.

Applications must live in /opt/<project name> on Harmattan & Meego.

Reviewed-by: Alessandro Portale
This commit is contained in:
Christian Kandeler
2011-02-08 18:08:03 +01:00
parent 5720bc7fab
commit 08aaad92ac
3 changed files with 10 additions and 13 deletions

View File

@@ -360,10 +360,7 @@ QString MaemoDeployableListModel::proFileScope() const
QString MaemoDeployableListModel::installPrefix() const
{
const QtVersion *const qv = qtVersion();
QTC_ASSERT(qv, return QString());
return QLatin1String(MaemoGlobal::version(qv) == MaemoGlobal::Maemo5
? "/opt/usr" : "/usr");
return QLatin1String("/opt/") + m_projectName;
}
} // namespace Qt4ProjectManager