diff options
Diffstat (limited to 'examples/widgets/movie')
-rw-r--r-- | examples/widgets/movie/main.cpp | 5 | ||||
-rw-r--r-- | examples/widgets/movie/movie.desktop | 11 | ||||
-rw-r--r-- | examples/widgets/movie/movie.pro | 5 |
3 files changed, 21 insertions, 0 deletions
diff --git a/examples/widgets/movie/main.cpp b/examples/widgets/movie/main.cpp index 3863234936..b9a1c69914 100644 --- a/examples/widgets/movie/main.cpp +++ b/examples/widgets/movie/main.cpp @@ -47,5 +47,10 @@ int main(int argc, char *argv[]) QApplication app(argc, argv); MoviePlayer player; player.show(); +#if defined(Q_OS_SYMBIAN) + player.showMaximized(); +#else + player.show(); +#endif return app.exec(); } diff --git a/examples/widgets/movie/movie.desktop b/examples/widgets/movie/movie.desktop new file mode 100644 index 0000000000..5c7ae21896 --- /dev/null +++ b/examples/widgets/movie/movie.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Type=Application +Terminal=false +Name=Movie +Exec=/opt/usr/bin/movie +Icon=movie +X-Window-Icon= +X-HildonDesk-ShowInToolbar=true +X-Osso-Type=application/x-executable diff --git a/examples/widgets/movie/movie.pro b/examples/widgets/movie/movie.pro index d59bf2ee26..62cc8bcfe2 100644 --- a/examples/widgets/movie/movie.pro +++ b/examples/widgets/movie/movie.pro @@ -17,3 +17,8 @@ wince*: { DEPLOYMENT_PLUGIN += qmng } +maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri) + +symbian: warning(This example might not fully work on Symbian platform) +maemo5: warning(This example might not fully work on Maemo platform) +simulator: warning(This example might not fully work on Simulator platform) |