I'm following the documentation for the WebEngineView in QT and I can't get this simple example to work. I've included an image of the layout for context. This all builds without errors, but when the form loads there's nothing there.
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent),
ui(new Ui::MainWindow),
instructionView(new QWebEngineView(this)) {
ui->setupUi(this);
ui->p1Instructions->addWidget(instructionView);
instructionView->load(QUrl("http://qt-project.org/"));
instructionView->show();
}
This is the layout I'm trying to add the WebEngineView to
This is what I get when I run the program

