blob: 4a7e72e365dd652376e71dacf52d18da875b5ca6 [file] [log] [blame]
# -------------------------------------------------------------------
# This file contains shared rules used both when building WebKit1
# itself, and by targets that use WebKit1.
#
# See 'Tools/qmake/README' for an overview of the build system
# -------------------------------------------------------------------
SOURCE_DIR = $${ROOT_WEBKIT_DIR}/Source/WebKit
INCLUDEPATH += \
$$SOURCE_DIR/qt/Api \
$$SOURCE_DIR/qt/WebCoreSupport \
$$ROOT_WEBKIT_DIR/Source/WTF/wtf/qt
enable?(DEVICE_ORIENTATION)|enable?(ORIENTATION_EVENTS) {
QT += sensors
}
enable?(GEOLOCATION): QT += location
contains(CONFIG, texmap): DEFINES += WTF_USE_TEXTURE_MAPPER=1
use?(PLUGIN_BACKEND_XLIB): PKGCONFIG += x11
QT += network widgets
have?(QTQUICK): QT += quick
have?(QTPRINTSUPPORT): QT += printsupport
use?(TEXTURE_MAPPER_GL)|enable?(WEBGL) {
QT *= opengl
# Make sure OpenGL libs are after the webcore lib so MinGW can resolve symbols
win32*:!win32-msvc*: LIBS += $$QMAKE_LIBS_OPENGL
}