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

QOpenGLWidget in QDockWidget Mac OS Mojave 10.14.1 reboot

XMLWordPrintable

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

       

      //代码占位符
      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

        1. TestCrash.zip
          6 kB
          terryzhang
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes