Maemo: Use per-target device configuration model.

Now if you have e.g. a Meego target, only Meego device configurations
are selectable in that target's deploy configuration.
Naturally, now the "default" attribute of a device configuration
is per Maemo version.
This commit is contained in:
Christian Kandeler
2011-02-04 15:04:20 +01:00
parent 33d5967a4e
commit 10fc54f337
10 changed files with 124 additions and 51 deletions

View File

@@ -292,8 +292,8 @@ QStringList MaemoGlobal::targetArgs(const QtVersion *qtVersion, bool useTarget)
QString MaemoGlobal::maemoVersionToString(MaemoVersion version)
{
switch (version) {
case Maemo5: return QLatin1String("Maemo 5 (Fremantle)");
case Maemo6: return QLatin1String("Maemo 6 (Harmattan)");
case Maemo5: return QLatin1String("Maemo 5/Fremantle");
case Maemo6: return QLatin1String("Maemo 6/Harmattan");
case Meego: return QLatin1String("Meego");
}
Q_ASSERT(false);