Important: Please read the Qt Code of Conduct -

Bug report response time

  • Hi guys,

    not sure if this is the right place to ask ... anyway:

    I've got an issue with stylesheets which might be a bug. I've created a bug report back in April but no reaction so far (not even evaluated).

    Is there something I can do to get it evaluated?



  • Sit and wait, keep monitoring the issue, add information if you have more, get people to vote for the issue.

  • You might have more luck with an example in C++ instead of python.

  • Thanks for the suggestions. After playing around, searching here and there, trying this and that I've found a way to achieve what I needed. I've written a comment in the bugreport (it's kind of a workaround), if anyone is curious.

  • Put this in your MainWIndow stylesheet:

    @QMenuBar {
    background-color: rgb(55, 37, 255);

    QMenuBar::item {
    spacing: 3px; /* spacing between menu bar items */
    padding: 1px 4px;
    background: transparent;
    border-radius: 4px;

    QMenuBar::item:selected { /* when selected using mouse or keyboard */
    background: #a8a8a8;

    QMenuBar::item:pressed {
    background: #888888;

Log in to reply