Home | History | Annotate | Download | only in platformplugin
      1 QT       += core gui
      2 TARGET = $$qtLibraryTarget(platformplugin)
      3 TEMPLATE = lib
      4 CONFIG += plugin
      5 
      6 ## load mobilityconfig if mobility is available
      7 load(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 
     22 DESTDIR = $$[QT_INSTALL_PLUGINS]/webkit
     23 
     24 SOURCES += \
     25     WebPlugin.cpp \
     26     WebNotificationPresenter.cpp
     27 
     28 HEADERS += \
     29     WebPlugin.h \
     30     qwebkitplatformplugin.h \
     31     WebNotificationPresenter.h
     32 
     33 !contains(DEFINES, ENABLE_NOTIFICATIONS=.): DEFINES += ENABLE_NOTIFICATIONS=1
     34