0

我创建 QQuickView 并捕获段错误。我的回溯:

0   QSGRenderLoop::useConsistentTiming  qsgrenderloop.cpp   131 0x7ffff763c91a  
1   QSGRenderLoop::instance qsgrenderloop.cpp   147 0x7ffff763ca78  
2   QQuickWindowPrivate::init   qquickwindow.cpp    416 0x7ffff766d2ff  
3   QQuickWindow::QQuickWindow  qquickwindow.cpp    991 0x7ffff766f822  
4   QQuickView::QQuickView  qquickview.cpp  166 0x7ffff7742bd0  
5   MainWindow::MainWindow  mainwindow.cpp  6   0x4019ab    
6   main    main.cpp    8   0x401854    

在 QSGRenderLoop::useConsistentTiming 在第一行崩溃:

    bool bufferQueuing = QGuiApplicationPrivate::platformIntegration()->hasCapability(QPlatformIntegration::BufferQueueingOpenGL);

platformIntegration我想是因为nullptr……但是为什么呢?

4

0 回答 0