recipebrowser.pro Example File | Qt WebEngine 5.9

Qt 5.9 | Qt WebEngine | WebEngine Recipe Browser | recipebrowser.pro Example File

Qt 5.9.9 Reference Documentation

# recipebrowser.pro Example File

webengine/recipebrowser/recipebrowser.pro

      TEMPLATE = app

      QT += quick qml quickcontrols2 webengine

      cross_compile {
        posix|qnx|linux: DEFINES += QTWEBENGINE_RECIPE_BROWSER_EMBEDDED
      }

      SOURCES += main.cpp

      RESOURCES += resources/resources.qrc

      DISTFILES += \
          resources/pages/assets/3rdparty/MARKDOWN-LICENSE.txt \
          resources/pages/assets/3rdparty/MARKED-LICENSE.txt

      target.path = $$[QT_INSTALL_EXAMPLES]/webengine/recipebrowser
      INSTALLS += target