Index: /trunk/BNC/src/src.pri
===================================================================
--- /trunk/BNC/src/src.pri	(revision 5183)
+++ /trunk/BNC/src/src.pri	(revision 5184)
@@ -6,5 +6,5 @@
 RESOURCES += bnc.qrc
 
-QT += svg webkit
+QT += svg
 
 unix:QMAKE_CFLAGS_RELEASE   -= -O2
@@ -59,6 +59,5 @@
           RTCM3/clock_and_orbit/clock_orbit_rtcm.h                    \
           RTCM3/ephemeris.h RTCM3/timeutils.h                         \
-          GPSS/gpssDecoder.h GPSS/hassDecoder.h                       \
-          map/bncmapwin.h
+          GPSS/gpssDecoder.h GPSS/hassDecoder.h                       
 
 HEADERS       += serial/qextserialbase.h serial/qextserialport.h
@@ -89,6 +88,5 @@
           RTCM3/clock_and_orbit/clock_orbit_rtcm.c                    \
           RTCM3/ephemeris.cpp RTCM3/timeutils.cpp                     \
-          GPSS/gpssDecoder.cpp GPSS/hassDecoder.cpp                   \
-          map/bncmapwin.cpp
+          GPSS/gpssDecoder.cpp GPSS/hassDecoder.cpp                   
 
 SOURCES       += serial/qextserialbase.cpp serial/qextserialport.cpp
@@ -134,3 +132,12 @@
 }  
 
-OTHER_FILES += map/html/index.html map/html/mapview.js
+contains(DEFINES, QT_WEBKIT) {
+  message("Configured with QtWebKit")
+  HEADERS += map/bncmapwin.h
+  SOURCES += map/bncmapwin.cpp
+  OTHER_FILES += map/html/index.html map/html/mapview.js
+}
+else {
+  message("No QtWebKit")
+}
+
