I need to change my Qt application's dock icon (in MacOS X) in run-time according to some conditions.
I've found several recipes on trolltech.com:
QApplication::setIcon()
setApplicationIcon()
qt_mac_set_app_icon()
but none of it works: there is no such methods/functions in Qt 4.5.
How can I change my application's dock icon and what icon formats can I use?
Thank you.