diff options
Diffstat (limited to 'doc/src/howtos/appicon.qdoc')
-rw-r--r-- | doc/src/howtos/appicon.qdoc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/src/howtos/appicon.qdoc b/doc/src/howtos/appicon.qdoc index 540ee5cdf..1d0be0dc2 100644 --- a/doc/src/howtos/appicon.qdoc +++ b/doc/src/howtos/appicon.qdoc @@ -58,7 +58,7 @@ Then, assuming you are using qmake to generate your makefiles, you only need to add a single line to your \c .pro project file: - \snippet doc/src/snippets/code/doc_src_appicon.pro 0 + \snippet snippets/code/doc_src_appicon.pro 0 Finally, regenerate your makefile and your application. The \c .exe file will now be represented by your icon in Explorer. @@ -67,11 +67,11 @@ \c myapp.rc, which you want to reuse, the following two steps will be required. First, put a single line of text to the \c myapp.rc file: - \snippet doc/src/snippets/code/doc_src_appicon.qdoc 0 + \snippet snippets/code/doc_src_appicon.qdoc 0 Then, add this line to your \c myapp.pro file: - \snippet doc/src/snippets/code/doc_src_appicon.pro 1 + \snippet snippets/code/doc_src_appicon.pro 1 If you do not use \c qmake, the necessary steps are: first, create an \c .rc file and run the \c rc or \c windres program on the \c .rc file, @@ -102,7 +102,7 @@ if the name of your icon file is \c{myapp.icns}, and your project file is \c{myapp.pro}, add this line to \c{myapp.pro}: - \snippet doc/src/snippets/code/doc_src_appicon.pro 2 + \snippet snippets/code/doc_src_appicon.pro 2 This will ensure that \c qmake puts your icons in the proper place and creates an \c{Info.plist} entry for the icon. @@ -165,7 +165,7 @@ by using \l{http://developer.kde.org/documentation/other/kde-config.html}{kde-config}, for example, by typing the following in a terminal window: - \snippet doc/src/snippets/code/doc_src_appicon.qdoc 3 + \snippet snippets/code/doc_src_appicon.qdoc 3 Typically, the list of colon-separated paths printed to stdout includes the user-specific icon path and the system-wide path. Beneath these @@ -188,7 +188,7 @@ location can be determined by using \c gnome-config, for example by typing the following in a terminal window: - \snippet doc/src/snippets/code/doc_src_appicon.qdoc 4 + \snippet snippets/code/doc_src_appicon.qdoc 4 The path printed on stdout refers to a location that should contain a directory called \c{pixmaps}; the directory structure within the \c pixmaps |