No need to set slider orientation. Default is already horizontal
[harmattan/cameraplus] / cameraplus.pri
index 58ac6fb..b76fd9a 100644 (file)
@@ -3,8 +3,18 @@ contains(MEEGO_EDITION, "harmattan") {
     DEFINES += HARMATTAN
     CONFIG += harmattan
 } else {
-# TODO: Assume nemo for now
-    message("Building for nemo")
-    DEFINES += NEMO
-    CONFIG += nemo
+    # We will assume sailfish for now since it's the only platform I am familiar with
+    message("Building for sailfish")
+    DEFINES += SAILFISH
+    CONFIG += sailfish
+}
+
+equals(QT_MAJOR_VERSION, 4) {
+    CONFIG += qt4
+    DEFINES += QT4
+}
+
+equals(QT_MAJOR_VERSION, 5) {
+    CONFIG += qt5
+    DEFINES += QT5
 }