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

Adding QToolBar makes QMainWindow disappear

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • 4.8.x
    • 4.5.3
    • Widgets: Main Window
    • None

    Description

      On Mac OSX.

      #include <QtGui/QApplication>
      #include <QtGui/QMainWindow>
      #include <QtGui/QToolBar>

      int main(int argc, char** argv)
      {
      QApplication app(argc, argv);
      QMainWindow mw;
      mw.show();
      // mw is shown now

      // makes the mw disappear
      QToolBar* tb = new QToolBar("title", &mw);

      app.exec();
      }

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sorvig Morten Sørvig
            cjstimpson Clinton Stimpson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes