[Qt-interest] loading standard icons on windows

Jens Bache-Wiig jbache at trolltech.com
Thu Aug 6 09:56:30 CEST 2009


Well the problem is that microsoft havent defined such standard icons.
There is for instance no standard defined icon for copy, cut and paste.
You will find these looking different between most apps. A few icons
are available in system files such as shell32.dll but what you find there
is somewhat arbitrary and doesnt map well to the free desktop icon
naming spec. We are planning on adding some basic support for standard
icons such as KStandardIcon in 4.6, but the problem is you will still have
to ship your own icon theme such as Oxygen or Tango together with your
application to make use of them on Windows.

Jens

"David Boosalis" <david.boosalis at gmail.com> wrote in message 
news:870c99310908051032j40fbc142v893614163afc086 at mail.gmail.com...
> Is there anyway to load standard icons such exit, cancel, etc, on
> Vista.  With KDE I could use KStandardIcon or load any system icon
> with KIcon("iconName") and not have to give it an explicit path to the
> icon.  Is there any such functionality in WIndows that I can implement
> with QT.  Is there a standard icon directory in windows similiar to
> KDE's share/icon directory.
>
> For doing such task as loading a standard icon do people recommend
> using QtCreator or using Visual Studio ?
>
> I am trying to learn Qt on WIndows, any help here appreciated.
>
> Any advise much appreciated.
>
> -David 




More information about the Qt-interest-old mailing list