hi, on Windows, i want to create an QIcon object. normally, it is possible to create QIcon object with an image. but since my EXE file already has an icon, i want to create QIcon with that.
naturally, i can find the handle of the icon with following code: import win32api hinst = win32api.GetModuleHandle(None) hicon = win32gui.LoadImage(hinst, 0, win32con.IMAGE_ICON, 0, 0, win32con.LR_DEFAULTSIZE) now, with hicon available, how can i use it to create QIcon object? i looked at the QIcon doc, but it doesnt seem to have any method working for this case. thanks a lot, Jun _______________________________________________ PySide mailing list [email protected] http://lists.pyside.org/listinfo/pyside
