Skip to content

Commit

Permalink
QtBase: Remove Meamo part and fix link in documentation
Browse files Browse the repository at this point in the history
... for Application Icon Example

Change-Id: I2efa0b49a13889db8b706523d06bf317d35cad4f
Reviewed-by: Gunnar Sletta <[email protected]>
  • Loading branch information
davschul authored and The Qt Project committed Nov 30, 2012
1 parent fa181fc commit 7fce924
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions examples/widgets/doc/src/applicationicon.qdoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,26 +33,12 @@

\image appicon_screenshot.png The icon on a Nokia XPressMusic 5800

\section1 Creating an icon for Maemo

Maemo expects the icon of an application to be a 64x64 PNG image file. The
file name of the icon should be the same as the executable with a \c .png
extension. You also need a \c .desktop file that gives the window manager
hints about the application, such as name, type and icon.

\quotefile applicationicon/applicationicon.desktop

The \c Icon field should also contain the name of the executable. On the
device, application icons are stored in the
\c /usr/share/icons/hicolor/64x64/apps directory
and desktop files in the \c /usr/share/applications/hildon directory.

\section1 Adding the icons to the project

For Maemo, we need to add that the \c .desktop and icon file should be
installed.

\quotefile applicationicon/applicationicon.pro
\quotefile widgets/applicationicon/applicationicon.pro

Currently, Qt Creator doesn't include the icon and desktop files in the
application package for Maemo, merely the executable file is included. As a
Expand Down

0 comments on commit 7fce924

Please sign in to comment.