We were manually including the directories needed from WTF, instead of
using the WEBKIT qmake variable to add dependencies, which also adds
other tricks from WTF.pri, such as the right include paths for ICU.
Reviewed by Simon Hausmann.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114106
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-04-13 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
+
+ [Qt] Fix build on OS X
+
+ We were manually including the directories needed from WTF, instead of
+ using the WEBKIT qmake variable to add dependencies, which also adds
+ other tricks from WTF.pri, such as the right include paths for ICU.
+
+ Reviewed by Simon Hausmann.
+
+ * declarative/experimental/experimental.pri:
+ * declarative/public.pri:
+
2012-04-12 Balazs Kelemen <kbalazs@webkit.org>
[Qt] Fix WebKit1 build with V8
DEFINES += HAVE_WEBKIT2
-# FIXME: Why are these needed, and why can't we use WEBKIT += ... ?
-INCLUDEPATH += \
- ../../../../WebKit2/Shared/qt \
- ../../../../JavaScriptCore \
- ../../../../JavaScriptCore/wtf \
- ../../../../JavaScriptCore/wtf/unicode \
- ../../../../JavaScriptCore/runtime \
- ../../../../WebKit2/Platform \
- ../../../../WebKit2/Platform/CoreIPC \
- ../../../../WTF
+WEBKIT += wtf javascriptcore webkit2
target.path = $$[QT_INSTALL_IMPORTS]/$${TARGET.module_name}
CONFIG += rpath
RPATHDIR_RELATIVE_TO_DESTDIR = ../../lib
-# FIXME: Why are these needed, and why can't we use WEBKIT += ... ?
-INCLUDEPATH += \
- ../../../WebKit2/Shared/qt \
- ../../../JavaScriptCore \
- ../../../JavaScriptCore/runtime \
- ../../../JavaScriptCore/wtf \
- ../../../WTF
-
SOURCES += plugin.cpp
!no_webkit2: {