[Qt-interest] Default (themed) icons?
R. Reucher
rene.reucher at batcom-it.net
Wed May 20 12:55:07 CEST 2009
On Wed May 20 2009 12:28:00 Ole Streicher wrote:
> Hi,
>
> For toolbars etc. I want to use existing default icons as far as
> possible (f.e. for zoom actions). Under Linux, they are under
>
> /usr/share/icons/default.kde4/22x22/actions/
>
> but it is not portable to write this path to my application. How can I
> solve this in a portable way?
The only "portable" way I see is to use "style provided standard pixmaps":
http://doc.qtsoftware.com/4.5/qstyle.html#StandardPixmap-enum
If you want to use different images, you have to either make sure they are in
a place you define/know (and thus most probably need to redistribute them
with your app), and/or embed them with your application.
HTH, René
--
René Reucher
rene.reucher at batcom-it.net
http://www.batcom-it.net/
One way to make your old car run better is to look up the price of a
new model.
More information about the Qt-interest-old
mailing list