QS60Style support for stylesheets was fixed for Qt 4.6.0. So make sure that you are using 4.6.0 or newer (prereleases won't work).
I have the following code that seems to style sheet menu successfully:
Code:
QString menuStyle(
"QMenu { background-color:rgb(225,225,0); color:rgb(255,0,0); selection-color:rgb(0, 170, 255); font-size:2pt} \n"
"QMenu::item:selected { background-color: #654321; }"
);
QMenu *menu1 = new QMenu("Menu", this);
QAction *actStyled1 = new QAction("MenuItem1", this);
QAction *actStyled2 = new QAction("MenuItem2", this);
actStyled1->setCheckable(true);
actStyled2->setCheckable(true);
menu1->addAction(actStyled1);
menu1->addAction(actStyled2);
menu1->setStyleSheet(menuStyle);
QToolButton *toolButton = new QToolButton(this);
toolButton ->setText("ToolButton");
toolButton ->setMenu(menu1);
toolButton ->setPopupMode(QToolButton::MenuButtonPopup);
toolButton ->setStyleSheet(toolButtonStyle);
m_layout->addWidget(toolButton );
So stylesheet for QMenus in general seem to work. If you could provide more details of your failing case that would help.
For example a mini-app where the case can easily be reproduced.
Thanks,
FB