Fix Qt build again
[WebKit-https.git] / WebKit.pri
1 # Include file to make it easy to include WebKit into Qt projects
2
3 INCLUDEPATH += $$PWD/JavaScriptCore \
4                $$PWD/WebCore \
5                $$PWD/WebCore/platform \
6                $$PWD/WebCore/platform/qt \
7                $$PWD/WebCore/platform/network \
8                $$PWD/WebCore/platform/graphics \
9                $$PWD/WebCore/editing \
10                $$PWD/WebCore/page \
11                $$PWD/WebCore/page/qt \
12                $$PWD/WebCore/dom \
13                $$PWD/WebCore/html \
14                $$PWD/WebCore/history \
15                $$PWD/WebCore/rendering \
16                $$PWD/WebCore/loader \
17                $$PWD/WebCore/loader/qt \
18                $$PWD/WebCore/css \
19                $$PWD/WebCore/bridge \
20                $$PWD/WebKitQt/WebCoreSupport
21
22 DEFINES += BUILDING_QT__=1
23
24 isEmpty(OUTPUT_DIR):OUTPUT_DIR=$$PWD/WebKitBuild/Release
25
26 LIBS += -L$$OUTPUT_DIR/lib -lWebKitQt -lJavaScriptCore
27
28 macx {
29         INCLUDEPATH += /opt/local/include /opt/local/include/libxml2
30         INCLUDEPATH += /usr/include/libxml2
31         LIBS += -L/opt/local/lib -lxml2 -lxslt
32 }