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