Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-11344

Maemo5InformationBox shows as black rectangle when a button style is applied

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 4.7.0
    • 4.6.2
    • (Inactive) Maemo 5
    • None
    • 0262b25f4d8b968b7d1ee3d1f935ff212ebd6c74

    Description

      If I display a Maemo5InformationBox on a QMainWindow to which a style for QPushButton is applied, the information box shows as a black rectangle.

      The problem can be reproduced by executing the example at:

      http://doc.qt.nokia.com/qt-maemo-4.6/maemo5-informationbox.html

      And replacing main.cpp with the code below:

      #include "examplewidget.h"

      #include <QApplication>
      #include <QMainWindow>

      int main(int argc, char *argv[])
      {
      QApplication app(argc, argv);

      ExampleWidget w;
      QMainWindow win;
      win.setCentralWidget(&w);
      win.setStyleSheet("QPushButton

      { color: gray; }

      ");
      win.show();

      return app.exec();
      }

      Attachments

        Activity

          People

            dohollan Dominik Holland (closed Nokia identity) (Inactive)
            bale Francesco Balestrieri
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: