QVTKOpenGLNativeWidget stop the qt page jumping

Hi,

I’m developing a program using Vtk 9.1 and QT 5.14.2. My main problem is QVTKOpenGLNativeWidget. In my program, the page7 has a QWidget. In order to let the QWidget show a vtk scene, I promote it to a QVTKOpenGLNativeWidget in QTDesigner. Now I added some codes jumping from page7 to page10. I found that the UI is freezing at page7 and page10 doesn’t show. But when I cancel the promoting of the QWidget in QTDesigner, the jumping between page7 and page10 works. So I think the QVTKOpenGLNativeWidget causes the qt page jumping failure.
I would be grateful for any tips.

Some code is following

int main(int argc, char *argv)
{
QApplication a(argc, argv);
Page7MainWidget p7;
Page10MainWidget p10;

QObject::connect(&p7, SIGNAL(showpage10()), &p10, SLOT(recepage7()));

p7.show();
return a.exec();

}

void Page7MainWidget::on_pushButton_3_clicked()
{
this->hide();
emit showpage10();
}

void Page10MainWidget::recepage7()
{
this->show();
}