summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/qmlcamera/qml/qmlcamera/main.qml2
-rw-r--r--tests/qmlcamera/qmlcamera.pro4
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/qmlcamera/qml/qmlcamera/main.qml b/tests/qmlcamera/qml/qmlcamera/main.qml
index 0518c1c8..72d2a45f 100644
--- a/tests/qmlcamera/qml/qmlcamera/main.qml
+++ b/tests/qmlcamera/qml/qmlcamera/main.qml
@@ -82,7 +82,7 @@ Item {
height: 298
minXValue: testChart.scene.activeCamera.minXRotation
minYValue: testChart.scene.activeCamera.minYRotation
- maxXValue: testChart.scene.activeCamera.maxYRotation
+ maxXValue: testChart.scene.activeCamera.maxXRotation
maxYValue: testChart.scene.activeCamera.maxYRotation
}
diff --git a/tests/qmlcamera/qmlcamera.pro b/tests/qmlcamera/qmlcamera.pro
index bc3a6953..374dc012 100644
--- a/tests/qmlcamera/qmlcamera.pro
+++ b/tests/qmlcamera/qmlcamera.pro
@@ -1,3 +1,7 @@
+!include( ../tests.pri ) {
+ error( "Couldn't find the tests.pri file!" )
+}
+
# Add more folders to ship with the application, here
folder_01.source = qml/qmlcamera
folder_01.target = qml