Fixed build for Symbian target.
[gpsdata] / gpsdata.pro
index 4fa1b87..778a9c1 100644 (file)
@@ -10,20 +10,13 @@ DEFINES += ORIENTATIONLOCK
 # Needs to be defined for Symbian
 #DEFINES += NETWORKACCESS
 
 # Needs to be defined for Symbian
 #DEFINES += NETWORKACCESS
 
-symbian {
-TARGET.UID3 = 0xECDDA32D
-TARGET.CAPABILITY = Location
-}
-
 # If your application uses the Qt Mobility libraries, uncomment
 # the following lines and add the respective components to the 
 # MOBILITY variable. 
 CONFIG += mobility
 MOBILITY += location
 
 # If your application uses the Qt Mobility libraries, uncomment
 # the following lines and add the respective components to the 
 # MOBILITY variable. 
 CONFIG += mobility
 MOBILITY += location
 
-QT += dbus
-
-contains(QT_CONFIG, opengl): QT += opengl
+QT += dbus opengl
 
 SOURCES += \
     src/satelliteviewwindow.cpp \
 
 SOURCES += \
     src/satelliteviewwindow.cpp \
@@ -43,8 +36,14 @@ HEADERS += \
 FORMS += 
 
 symbian {
 FORMS += 
 
 symbian {
-SOURCES += src/satellitesignalstrengthwindow.cpp
-HEADERS += src/satellitesignalstrengthwindow.h
+    SOURCES += src/satellitesignalstrengthwindow.cpp
+    HEADERS += src/satellitesignalstrengthwindow.h
+
+    QT -= dbus opengl
+    DEFINES += QT_NO_OPENGL
+
+    TARGET.UID3 = 0xECDDA32D
+    TARGET.CAPABILITY = Location
 }
 
 # Please do not modify the following two lines. Required for deployment.
 }
 
 # Please do not modify the following two lines. Required for deployment.