ウィンドウの下で QT を使用して、カスタムペイントされたアイコンを作成しようとしました。次のコードはアイコンを表示しますが、塗りつぶしではなく透明に見えます:(。OSはWinXP SP3、IDEは最新のQTCreatorです。
int main( int argc, char* argv[] )
{
QApplication oApp( argc, argv );
QImage oImg( 16, 16, QImage::Format_RGB32 );
oImg.fill( qRgb( 255, 0, 255 ) );
QPixmap oPixmap;
oPixmap.fromImage( oImg, Qt::ColorOnly );
QIcon oIcon( oPixmap );
QSystemTrayIcon oTrayIcon( oIcon );
oTrayIcon.show();
return oApp.exec();
}