source: trunk/src/3rdparty/javascriptcore/WebKit.pri

Last change on this file was 846, checked in by Dmitry A. Kuminov, 14 years ago

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

  • Property svn:eol-style set to native
File size: 2.9 KB
RevLine 
[556]1# Include file to make it easy to include WebKit into Qt projects
2
[846]3# Detect that we are building as a standalone package by the presence of
4# either the generated files directory or as part of the Qt package through
5# QTDIR_build
6CONFIG(QTDIR_build): CONFIG += standalone_package
7else:exists($$PWD/WebCore/generated): CONFIG += standalone_package
[556]8
[846]9CONFIG(standalone_package) {
10 OUTPUT_DIR=$$PWD
11}
12
13CONFIG += depend_includepath
14
[556]15isEmpty(OUTPUT_DIR) {
16 CONFIG(debug, debug|release) {
17 OUTPUT_DIR=$$PWD/WebKitBuild/Debug
18 } else { # Release
19 OUTPUT_DIR=$$PWD/WebKitBuild/Release
20 }
21}
22
23DEFINES += BUILDING_QT__=1
24building-libs {
25 win32-msvc*|win32-icc: INCLUDEPATH += $$PWD/JavaScriptCore/os-win32
26} else {
27 CONFIG(QTDIR_build) {
28 QT += webkit
29 } else {
30 QMAKE_LIBDIR = $$OUTPUT_DIR/lib $$QMAKE_LIBDIR
[846]31 QTWEBKITLIBNAME = QtWebKit
[556]32 mac:!static:contains(QT_CONFIG, qt_framework):!CONFIG(webkit_no_framework) {