forked from qt-creator/qt-creator
Maemo: Fix default deployment paths.
Applications must live in /opt/<project name> on Harmattan & Meego. Reviewed-by: Alessandro Portale
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user