summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2014-02-22 17:26:42 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2014-02-22 18:33:28 +0100
commit1279a21d9db9c497efbdaef7bb45f313a06df44b (patch)
tree102b86e4a9e422a7391c3a97c624c64f895e5774 /recipes-qt/qt5
parent6ec88245642cfe16bdd21abdbb8f3fabe13c96b9 (diff)
downloadmeta-qt5-1279a21d9db9c497efbdaef7bb45f313a06df44b.tar.gz
qtdeclarative: Fix build with tests enabled
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5')
-rw-r--r--recipes-qt/qt5/qtdeclarative/0001-qmltestexample-fix-link.patch53
1 files changed, 48 insertions, 5 deletions
diff --git a/recipes-qt/qt5/qtdeclarative/0001-qmltestexample-fix-link.patch b/recipes-qt/qt5/qtdeclarative/0001-qmltestexample-fix-link.patch
index f1393785..05aa3642 100644
--- a/recipes-qt/qt5/qtdeclarative/0001-qmltestexample-fix-link.patch
+++ b/recipes-qt/qt5/qtdeclarative/0001-qmltestexample-fix-link.patch
@@ -1,4 +1,4 @@
1From 6e3f95ab76c4de1333eab1625b507c09ad52d340 Mon Sep 17 00:00:00 2001 1From 64ca7961376fa896d82c2a3db2d42cbb6b68c069 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Eric=20B=C3=A9nard?= <eric@eukrea.com> 2From: =?UTF-8?q?Eric=20B=C3=A9nard?= <eric@eukrea.com>
3Date: Sun, 26 May 2013 14:26:19 +0200 3Date: Sun, 26 May 2013 14:26:19 +0200
4Subject: [PATCH 1/2] qmltestexample: fix link 4Subject: [PATCH 1/2] qmltestexample: fix link
@@ -11,10 +11,16 @@ ld: warning: libQt5Quick.so.5, needed by libQt5QuickTest.so, not found
11 11
12Upstream-Status: Inappropriate 12Upstream-Status: Inappropriate
13 13
14Change-Id: I63088ff73bec6a8559dfae132f8bd40b62487450
14Signed-off-by: Eric Bénard <eric@eukrea.com> 15Signed-off-by: Eric Bénard <eric@eukrea.com>
16Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
15--- 17---
16 examples/qmltest/qmltest/qmltest.pro | 2 +- 18 examples/qmltest/qmltest/qmltest.pro | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-) 19 tests/auto/qml/qjsengine/qjsengine.pro | 2 +-
20 tests/auto/qml/qtqmlmodules/qtqmlmodules.pro | 2 +-
21 tests/auto/qmltest/qmltest.pro | 1 +
22 tools/qmltestrunner/qmltestrunner.pro | 2 +-
23 5 files changed, 5 insertions(+), 4 deletions(-)
18 24
19diff --git a/examples/qmltest/qmltest/qmltest.pro b/examples/qmltest/qmltest/qmltest.pro 25diff --git a/examples/qmltest/qmltest/qmltest.pro b/examples/qmltest/qmltest/qmltest.pro
20index b5893c5..1b00e6c 100644 26index b5893c5..1b00e6c 100644
@@ -29,15 +35,52 @@ index b5893c5..1b00e6c 100644
29 35
30 macx: CONFIG -= app_bundle 36 macx: CONFIG -= app_bundle
31 37
38diff --git a/tests/auto/qml/qjsengine/qjsengine.pro b/tests/auto/qml/qjsengine/qjsengine.pro
39index a62eb75..73b6917 100644
40--- a/tests/auto/qml/qjsengine/qjsengine.pro
41+++ b/tests/auto/qml/qjsengine/qjsengine.pro
42@@ -1,7 +1,7 @@
43 CONFIG += testcase
44 CONFIG += parallel_test
45 TARGET = tst_qjsengine
46-QT += qml qml-private widgets testlib gui-private
47+QT += qml qml-private widgets testlib gui-private quick
48 macx:CONFIG -= app_bundle
49 SOURCES += tst_qjsengine.cpp
50
51diff --git a/tests/auto/qml/qtqmlmodules/qtqmlmodules.pro b/tests/auto/qml/qtqmlmodules/qtqmlmodules.pro
52index c6d442e..3181dcd 100644
53--- a/tests/auto/qml/qtqmlmodules/qtqmlmodules.pro
54+++ b/tests/auto/qml/qtqmlmodules/qtqmlmodules.pro
55@@ -8,5 +8,5 @@ macx:CONFIG -= app_bundle
56
57 TESTDATA = data/*
58
59-QT += core-private qml-private testlib gui gui-private
60+QT += core-private qml-private testlib gui gui-private quick
61 DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
62diff --git a/tests/auto/qmltest/qmltest.pro b/tests/auto/qmltest/qmltest.pro
63index 7662cb1..a8f8ae2 100644
64--- a/tests/auto/qmltest/qmltest.pro
65+++ b/tests/auto/qmltest/qmltest.pro
66@@ -4,6 +4,7 @@ CONFIG += qmltestcase
67 CONFIG += console
68 SOURCES += tst_qmltest.cpp
69
70+QT += quick
71
72 importFiles.files = borderimage buttonclick createbenchmark events qqmlbinding selftests
73
32diff --git a/tools/qmltestrunner/qmltestrunner.pro b/tools/qmltestrunner/qmltestrunner.pro 74diff --git a/tools/qmltestrunner/qmltestrunner.pro b/tools/qmltestrunner/qmltestrunner.pro
33index 5184c1f..668cf17 100644 75index 1bb913e..56f2dd5 100644
34--- a/tools/qmltestrunner/qmltestrunner.pro 76--- a/tools/qmltestrunner/qmltestrunner.pro
35+++ b/tools/qmltestrunner/qmltestrunner.pro 77+++ b/tools/qmltestrunner/qmltestrunner.pro
36@@ -1,5 +1,5 @@ 78@@ -1,6 +1,6 @@
37 SOURCES += main.cpp 79 SOURCES += main.cpp
38 80
39-QT += qml qmltest 81-QT += qml qmltest
40+QT += qml qmltest quick 82+QT += qml qmltest quick
83 CONFIG += no_import_scan
41 84
42 load(qt_tool) 85 load(qt_tool)
43-- 86--