How to put QPushButton into Qt3DWindow which is in the widget?
问题 I want to have one or more QPushButtons or other widgets on top of Qt3DWidget, but it is invisible. Don't know why. In my mainwindow.cpp I have such code: this->renderer = new Qt3DExtras::Qt3DWindow(); this->renderer->defaultFrameGraph()->setClearColor(QColor(QRgb(0x4d4d41)); this->rendererContainer = QWidget::createWindowContainer(this->renderer); ui->centralWidget->layout()->addWidget(this->rendererContainer); this->shotButton = new QPushButton("Make photo", this->rendererContainer); this-