hello all!
my problem is:
i load a bitmap from windows ntoskrnl.exe. this bitmap is cryptet (i have to set another color table to view it).
i get a pixmap and convert it to an QImage.

QImage myImage = pxm.toImage();

now i make a QVector<QRgb> mstable(16); and set the give the vector the colors i need.
then i call

myImg.setColorTable(mstable);

now i paint the image on the screen with (in paintEvent)

painter.drawImage(0,0,myImg);

but everything is black. my color table wasn't used for the image.
why, or what im making wrong?