recipebrowser.pro Example File | Qt WebEngine 5.10

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

Qt 5.10.1 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