Squashed commit of the changes from the mobile-examples repository

(4.7-generated-declarative branch).
(cherry picked from commit 539311f7b2687e3148ea695ce06fee768abe7b44)
This commit is contained in:
David Boddie
2011-04-27 19:16:41 +02:00
parent 0db79fb534
commit c5c9450497
8 changed files with 24 additions and 1 deletions

View File

@@ -47,7 +47,7 @@
QString toString(QAudioFormat::SampleType sampleType)
{
QString result("Unknown");
QString result;
switch (sampleType) {
case QAudioFormat::SignedInt:
result = "SignedInt";
@@ -58,7 +58,9 @@ QString toString(QAudioFormat::SampleType sampleType)
case QAudioFormat::Float:
result = "Float";
break;
default:
case QAudioFormat::Unknown:
result = "Unknown";
break;
}
return result;

View File

@@ -15,3 +15,5 @@ symbian {
TARGET.UID3 = 0xA000D7BE
CONFIG += qt_example
}
maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)

View File

@@ -15,3 +15,6 @@ symbian {
TARGET.CAPABILITY += UserEnvironment
CONFIG += qt_example
}
maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)
maemo5: warning(This example might not fully work on Maemo platform)

View File

@@ -48,7 +48,11 @@ int main(int argv, char **args)
app.setApplicationName("Audio Input Test");
InputTest input;
#if defined(Q_OS_SYMBIAN)
input.showMaximized();
#else
input.show();
#endif
return app.exec();
}

View File

@@ -14,3 +14,5 @@ symbian {
TARGET.UID3 = 0xA000D7C0
CONFIG += qt_example
}
maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)
maemo5: warning(This example might not fully work on Maemo platform)

View File

@@ -49,7 +49,11 @@ int main(int argv, char **args)
app.setApplicationName("Audio Output Test");
AudioTest audio;
#if defined(Q_OS_SYMBIAN)
audio.showMaximized();
#else
audio.show();
#endif
return app.exec();
}

View File

@@ -19,3 +19,6 @@ symbian {
TARGET.UID3 = 0xA000D7C2
CONFIG += qt_example
}
maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)
symbian: warning(This example might not fully work on Symbian platform)

View File

@@ -23,3 +23,6 @@ symbian {
TARGET.UID3 = 0xA000D7C3
CONFIG += qt_example
}
maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)
symbian: warning(This example might not fully work on Symbian platform)