I'm using a QMenu populated with some QActions and when using menu->popup() I can not read anything as there is black text on black background. I tested this on an Asus Transformer Pad (Android 4.1.1) and on a HTC sensation (Android 4.0.3) I think there is a general problem with the QPalette settings as I had nother problem when using a QListWidget where I had white color on white background. Reproducible: Always
It seems that the drawing uses the wrong colors, because when I explicitely change the palette popup->backgroundRole() color to gray and the WindowText color to white, I still do not see the text - only the background color changes to gray. e.g.: QPalette pal = popup->palette(); pal.setColor(popup->backgroundRole(), Qt::lightGray); pal.setColor(popup->foregroundRole(), Qt::black); popup->setPalette(pal);