youtubeview.pro Example File | Qt WebKit Examples 5.4

- Qt 5.4
- Qt WebKit Examples
- YouTube View Example
- youtubeview.pro Example File
- Qt 5.4.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