diff options
author | Sarah Smith <sarah.j.smith@nokia.com> | 2011-04-06 20:20:20 +1000 |
---|---|---|
committer | Sarah Smith <sarah.j.smith@nokia.com> | 2011-04-06 20:20:20 +1000 |
commit | 00282f9fb7681785f8cf0fa0daafe4fab9ce6838 (patch) | |
tree | 468bd02930b10b9a451e33b7199b07e99cb3dc6f /examples/qt3d/cube | |
parent | e2d7b79caaac316098ad7348f30d490fb7e3e919 (diff) |
Device packaging. QTBUG-17434.
Few fixups required for header location, and plugins not linked to
requisite libs. The rest of it is adding .desktop files and icons.
Many of the icons are duplicates but at some point some apps will likely
get their own icons, so don't share a common icon.
Many apps run just fine, a few have bogus names, bad icons and other
niggles. Apps that don't run are subject of other bug reports.
Diffstat (limited to 'examples/qt3d/cube')
-rw-r--r-- | examples/qt3d/cube/cube.desktop | 8 | ||||
-rw-r--r-- | examples/qt3d/cube/cube.pro | 8 | ||||
-rw-r--r-- | examples/qt3d/cube/icon-l-qt3d.png | bin | 0 -> 3076 bytes |
3 files changed, 16 insertions, 0 deletions
diff --git a/examples/qt3d/cube/cube.desktop b/examples/qt3d/cube/cube.desktop new file mode 100644 index 000000000..8f26f5d6f --- /dev/null +++ b/examples/qt3d/cube/cube.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=cube Qt3D +Icon=icon-l-qt3d +Exec=/usr/bin/cube -fullscreen +OnlyShowIn=X-MeeGo; +X-MeeGo-Logical-Id=qtn_comm_appname_cube +X-MeeGo-Translation-Catalog=essentials diff --git a/examples/qt3d/cube/cube.pro b/examples/qt3d/cube/cube.pro index 09f049182..94ad3de36 100644 --- a/examples/qt3d/cube/cube.pro +++ b/examples/qt3d/cube/cube.pro @@ -9,6 +9,14 @@ HEADERS = cubeview.h RESOURCES = cube.qrc package { + maemo { + applnk.files = cube.desktop + applnk.path = /usr/share/applications + + icons.files = icon-l-qt3d.png + icons.path = /usr/share/themes/base/meegotouch/icons + INSTALLS += icons applnk + } LIBS += -L../../../src/threed -lQt3D INCLUDEPATH += ../../../include target.path += $$[QT_INSTALL_BINS] diff --git a/examples/qt3d/cube/icon-l-qt3d.png b/examples/qt3d/cube/icon-l-qt3d.png Binary files differnew file mode 100644 index 000000000..07cc4092d --- /dev/null +++ b/examples/qt3d/cube/icon-l-qt3d.png |