From anonymous, 3 Months ago, written in C++.
Embed
  1. #include <QApplication>
  2. #include <QWebEngineView>
  3. #include <QUrl>
  4.  
  5. int main(int argc, char *argv[])
  6. {
  7.     QApplication app(argc, argv);
  8.     QWebEngineView view;
  9.     view.load(QUrl("https://www.orimi.com/pdf-test.pdf"));
  10.     view.show();
  11.     return app.exec();
  12. }
  13.  
  14. /*
  15. QT += core widgets webenginewidgets
  16.  
  17. TARGET = testbrowser
  18. TEMPLATE = app
  19.  
  20. SOURCES += main.cpp
  21. /*