Qt 6.11 is out! See what's new in the release
blog
web browser app with QWebEngineView
-
Hi everyone,
I am using QT5.6.
I'd like to create a sample web browser app with QWebEngineView of QT.My example code is very sample.
#include <QApplication> #include <QWebEngineView> int main(int argc, char **argv) { QApplication app(argc, argv); QWebEngineView view; view.load(QUrl("http://qt-project.org/")); view.show(); return app.exec(); }When I run view.load(), the app got crash.
I don't have any idea what how to fix it.I am not familiar with QT, so I don't know how to get more information.
Please give a advice.Thanks,
ChiaoHuang