With a standard Windows app, linked to Common Controls 6, you do:
Qt Code:
  1. GetDlgItem(IDC_SOMEBUTTONID)->SendMessage(BCM_SETSHIELD, 0, TRUE);
To copy to clipboard, switch view to plain text mode 
and the appropriately coloured shield icon is added to your button.

Is there a way to get the "official" Windows UAC shield icon on to a QPushButton?
Is shipping an icon for each of Vista and Win 7 (different colours) and manually applying it the only way with Qt?