-QT += declarative opengl dbus
-
-CONFIG += link_pkgconfig mobility qtsparql
-
-MOBILITY += location systeminfo
+QT += dbus
+CONFIG += link_pkgconfig
+
+qt4 {
+ QT += declarative opengl
+ CONFIG += mobility
+ MOBILITY += location systeminfo
+ PKGCONFIG += qtsparql qmsystem2 libresourceqt1
+}