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

QOpenGLWidget in QDockWidget Mac OS Mojave 10.14.1 reboot

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • 5.12.1
    • 5.11.2
    • GUI: OpenGL
    • None
    • Qt 5.11.2 Mac OS Mojave 10.14.1
    • macOS

    Description

       

      //代码占位符
      MainWindow::MainWindow(QWidget *parent)
          : QMainWindow(parent)
          , ui(new Ui::MainWindow)
      {
          ui->setupUi(this);
          this->setCentralWidget(new QWidget());    QDockWidget *dock = new QDockWidget("btn");
          dock->setWidget(new QOpenGLWidget());
          this->addDockWidget(Qt::DockWidgetArea::LeftDockWidgetArea, dock);
      }MainWindow::~MainWindow()
      {
          delete ui;
      }
      

       
      Float opengl widget by mouse , lead to the operating system reboot

      Attachments

        Issue Links

          Activity

            People

              vestbo Tor Arne Vestbø
              terryzhang terryzhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: