1 # -------------------------------------------------------------------
2 # This file contains shared rules used both when building WTF itself
3 # and for targets that depend in some way on WTF.
5 # See 'Tools/qmake/README' for an overview of the build system
6 # -------------------------------------------------------------------
8 # All external modules should include WTF headers by prefixing with "wtf" (#include <wtf/some/thing.h>).
13 # Mac OS does ship libicu but not the associated header files.
14 # Therefore WebKit provides adequate header files.
15 INCLUDEPATH += $${ROOT_WEBKIT_DIR}/Source/WTF/icu
18 contains(QT_CONFIG,icu) {
19 win32: LIBS += -licuin -licuuc -licudt
20 else: LIBS += -licui18n -licuuc -licudata
22 error("To build QtWebKit with Qt 5 you need ICU")
27 linux-*:contains(DEFINES, WTF_USE_GSTREAMER=1) {
28 DEFINES += ENABLE_GLIB_SUPPORT=1
29 PKGCONFIG += glib-2.0 gio-2.0