Running QtWebEngine with C++
问题 I'm trying out Qt for the first time and want to create a very basic application which loads a website. I want to use Qt WebEngine. This is my helloworld.pro: TEMPLATE = app TARGET = hello DEPENDPATH += . INCLUDEPATH += . QT += webenginewidgets SOURCES += hello.cpp And this is my hello.cpp #include <QApplication> #include <QtWebEngineWidgets/QtWebEngineWidgets> int main(int argc, char *argv[]) { QApplication app(argc, argv); QWebEngineView *view = new QWebEngineView(parent); view->load(QUrl(