Generate pkgconfig files for the Qt build.
authorhausmann <hausmann@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 18 May 2007 07:54:37 +0000 (07:54 +0000)
committerhausmann <hausmann@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 18 May 2007 07:54:37 +0000 (07:54 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@21556 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/WebCore.pro

index 9007363..3671770 100644 (file)
@@ -1,3 +1,10 @@
+2007-05-18  Simon Hausmann  <hausmann@kde.org>
+
+        Reviewed by Lars.
+
+        * WebCore.pro: Create a pkg-config file to make it easier to locate
+        and use WebKitQt.
+
 2007-05-18  Lars Knoll <lars@trolltech.com>
 
         Reviewed by Hyatt.
index b8ab7ef..42eba66 100644 (file)
@@ -16,6 +16,13 @@ DEPENDPATH += css dom loader editing history html \
 
 include($$OUTPUT_DIR/config.pri)
 
+unix {
+    CONFIG += create_pc create_prl
+    QMAKE_PKGCONFIG_LIBDIR = $$DESTDIR
+    QMAKE_PKGCONFIG_INCDIR = $$PWD/../WebKitQt/Api
+    QMAKE_PKGCONFIG_DESTDIR = pkgconfig
+}
+
 CONFIG -= warn_on
 QMAKE_CXXFLAGS += -Wreturn-type
 #QMAKE_CXXFLAGS += -Wall -Wno-undef -Wno-unused-parameter