Notice a missing escape character:
Qt Code:
To copy to clipboard, switch view to plain text mode
Notice a missing escape character:
Qt Code:
To copy to clipboard, switch view to plain text mode
J-P Nurmi
HI, following a topic - does anyone knows way to extract icons stored in dll's resources?
mchara (30th October 2007)
And once you start converting HICON to QIcon/QPixmap, notice convertHIconToPixmap() in src/gui/image/qpixmap_win.cpp![]()
J-P Nurmi
mchara (30th October 2007)
yep forgot that.
i prefer this solution:
http://www.methylblue.com/blog/hicon-to-qpixmap/
Thanks, that answers all my questions in this topic.
Dear all,
can anyone help me to save QIcon as an image file.
Thanks in advance.
I'm not sure, because recently i had no time for programming private project(i got enough at work), but as far as i remember, i have made some changes in qt imageformat plugin for ico format taken from kde sources.
Kde had writing to ico files method in qt3 but after migration to qt 4 only ico reading was ported and writing method was commented and i reworked it (using some other open software as reference(i don't remember its name now) so it saves ico files in current version(of course it's limited implementation and it doesn't support all possible formats)
http://downloads.sourceforge.net/gra...8&big_mirror=0
i hope it will work for you(i didn't tested in on any linux)
CU
See GrEEn (Graphics Effects Environment)
http://sourceforge.net/project/platf...roup_id=232746
a qt-based plugins oriented MDI image processing application(contains also qt plugins like styles & imageformats).
Bookmarks