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:
@@ -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;
|
||||
|
||||
@@ -15,3 +15,5 @@ symbian {
|
||||
TARGET.UID3 = 0xA000D7BE
|
||||
CONFIG += qt_example
|
||||
}
|
||||
maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user