youtubeview.pro Example File | Qt WebKit Examples 5.9

Qt 5.9 | Qt WebKit Examples | YouTube View Example | youtubeview.pro Example File

Qt 5.9.2 Reference Documentation

# youtubeview.pro Example File

webkitqml/youtubeview/youtubeview.pro

      TEMPLATE = app

      DEFINES += QWEBKIT_EXAMPLE_NAME=\\\"youtubeview\\\"

      QT += quick qml webkit
      SOURCES += ../shared/main.cpp

      mac: CONFIG -= app_bundle

      target.path = $$[QT_INSTALL_EXAMPLES]/webkitqml/youtubeview
      qml.files = youtubeview.qml content
      qml.path = $$[QT_INSTALL_EXAMPLES]/webkitqml/youtubeview
      INSTALLS += target qml

      OTHER_FILES += \
          player.html

      RESOURCES += youtubeview.qrc \
          ../shared/shared.qrc