1QT += core gui 2TARGET = $$qtLibraryTarget(platformplugin) 3TEMPLATE = lib 4CONFIG += plugin 5 6## load mobilityconfig if mobility is available 7load(mobilityconfig, true) 8 9# HTML5 Media Support 10# We require QtMultimedia 11!contains(DEFINES, ENABLE_VIDEO=.) { 12 contains(MOBILITY_CONFIG, multimedia) { 13 CONFIG += mobility 14 MOBILITY += multimedia 15 DEFINES -= ENABLE_VIDEO=0 16 DEFINES += ENABLE_VIDEO=1 17 DEFINES -= WTF_USE_QT_MULTIMEDIA=0 18 DEFINES += WTF_USE_QT_MULTIMEDIA=1 19 } 20} 21 22DESTDIR = $$[QT_INSTALL_PLUGINS]/webkit 23 24SOURCES += \ 25 WebPlugin.cpp \ 26 WebNotificationPresenter.cpp 27 28HEADERS += \ 29 WebPlugin.h \ 30 qwebkitplatformplugin.h \ 31 WebNotificationPresenter.h 32 33!contains(DEFINES, ENABLE_NOTIFICATIONS=.): DEFINES += ENABLE_NOTIFICATIONS=1 34