On Tue, Aug 31, 2010 at 10:17 AM, Christian Kandeler
<christian.kande...@nokia.com> wrote:

> when writing Qt applications for Maemo,
> http://wiki.maemo.org/Packaging_a_Qt_application advises to add the
> following to one's .pro file:
>  iconxpm.path = $$DATADIR/pixmap
>  iconxpm.files += ../data/maemo/$${TARGET}.xpm

My theory is that this is folklore from pre-maemo5 days ;-).

I tried "calling the bullshit" and just doing this in my app (64x64 icon):

    icon.files += data/scalable/qtdone.png
    icon.path = $$DATADIR/icons/hicolor/scalable/hildon

and I don't really miss anything in terms of icons.

BTW, would it be possible to have the packaging stuff created by qt
creator done in a .pri file that is merely included by the .pro file?
It would seem much cleaner to me.

-- 
Ville M. Vainio @@ Forum Nokia
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to