Qt 5.11 | Qt WebEngine | WebEngine Content Manipulation Example | contentmanipulation.pro Example File

Qt 5.11.3 Reference Documentation

# contentmanipulation.pro Example File

webenginewidgets/contentmanipulation/contentmanipulation.pro

      QT      +=  webenginewidgets

      HEADERS =   mainwindow.h
      SOURCES =   main.cpp \
                  mainwindow.cpp
      RESOURCES = jquery.qrc

      # Disable Qt Quick compiler because the example doesn't use QML, but more importantly so that
      # the source code of the .js files is not removed from the embedded qrc file.
      CONFIG -= qtquickcompiler

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/webenginewidgets/contentmanipulation
      INSTALLS += target