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 9007363a669268701adecc6b3c2b60f8a9643254..367177069fa8f9f11712a4b23a1b0a92a171eab0 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 b8ab7efce04a62a15882e4e5ba9035b0e8f9ed96..42eba66f2664508f1a4aa930c442423c8cb6e20a 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