javacommons/gcfprotocols/http/build/javahttp.pro
changeset 48 e0d6e9bd3ca7
parent 21 2a9601315dfc
child 50 023eef975703
child 61 bf7ee68962da
--- a/javacommons/gcfprotocols/http/build/javahttp.pro	Wed Jun 23 18:07:10 2010 +0300
+++ b/javacommons/gcfprotocols/http/build/javahttp.pro	Tue Jul 06 14:10:26 2010 +0300
@@ -13,16 +13,31 @@
 #
 # Description: 
 #
+include(../../../../inc/build_defines.pri)
 
 TARGET=javahttp
 TEMPLATE=lib
 CONFIG += omj java stl
-CONFIG -= qt
 
 symbian {
-    LIBS += -leuser -lhttp -lecom -lbafl -linetprotutil -lhttpfiltercommon -lx509 -lx500 -lcrypto -lesock -lcommdb -lcentralrepository -lwebutils
+
+    LIBS += -leuser -lhttp -lecom -lbafl -linetprotutil -lhttpfiltercommon -lx509 -lx500 -lcrypto -lesock -lcommdb -lcentralrepository
+
+    contains(PROJECT_DEFINES,RD_JAVA_S60_RELEASE_10_1_ONWARDS) {
+        QT += webkit
+        QT -= gui
+        LIBS += -lQtWebKit -lplatformEnv -ljavaenvinfo
+    }
+    else {
+        LIBS += -lwebutils
+    }
+
+    contains(PROJECT_DEFINES,RD_JAVA_S60_RELEASE_5_0) {
+        LIBS += -lcommdb
+    }
+    contains(PROJECT_DEFINES,RD_JAVA_S60_RELEASE_9_2_ONWARDS) {
+        LIBS += -lextendedconnpref -lnetmeta
+    }
 }
 
-
-
 include(../../../../build/omj.pri)