Fixes for qml/js debugging
[harmattan/cameraplus] / cameraplus.pri
index b6ede31..b76fd9a 100644 (file)
@@ -2,4 +2,19 @@ contains(MEEGO_EDITION, "harmattan") {
     message("Building for harmattan")
     DEFINES += HARMATTAN
     CONFIG += harmattan
+} else {
+    # 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
 }