diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2014-02-22 17:26:42 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-02-22 18:33:28 +0100 |
commit | 1279a21d9db9c497efbdaef7bb45f313a06df44b (patch) | |
tree | 102b86e4a9e422a7391c3a97c624c64f895e5774 /recipes-qt/qt5 | |
parent | 6ec88245642cfe16bdd21abdbb8f3fabe13c96b9 (diff) | |
download | meta-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.patch | 53 |
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 @@ | |||
1 | From 6e3f95ab76c4de1333eab1625b507c09ad52d340 Mon Sep 17 00:00:00 2001 | 1 | From 64ca7961376fa896d82c2a3db2d42cbb6b68c069 Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Eric=20B=C3=A9nard?= <eric@eukrea.com> | 2 | From: =?UTF-8?q?Eric=20B=C3=A9nard?= <eric@eukrea.com> |
3 | Date: Sun, 26 May 2013 14:26:19 +0200 | 3 | Date: Sun, 26 May 2013 14:26:19 +0200 |
4 | Subject: [PATCH 1/2] qmltestexample: fix link | 4 | Subject: [PATCH 1/2] qmltestexample: fix link |
@@ -11,10 +11,16 @@ ld: warning: libQt5Quick.so.5, needed by libQt5QuickTest.so, not found | |||
11 | 11 | ||
12 | Upstream-Status: Inappropriate | 12 | Upstream-Status: Inappropriate |
13 | 13 | ||
14 | Change-Id: I63088ff73bec6a8559dfae132f8bd40b62487450 | ||
14 | Signed-off-by: Eric Bénard <eric@eukrea.com> | 15 | Signed-off-by: Eric Bénard <eric@eukrea.com> |
16 | Signed-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 | ||
19 | diff --git a/examples/qmltest/qmltest/qmltest.pro b/examples/qmltest/qmltest/qmltest.pro | 25 | diff --git a/examples/qmltest/qmltest/qmltest.pro b/examples/qmltest/qmltest/qmltest.pro |
20 | index b5893c5..1b00e6c 100644 | 26 | index 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 | ||
38 | diff --git a/tests/auto/qml/qjsengine/qjsengine.pro b/tests/auto/qml/qjsengine/qjsengine.pro | ||
39 | index 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 | |||
51 | diff --git a/tests/auto/qml/qtqmlmodules/qtqmlmodules.pro b/tests/auto/qml/qtqmlmodules/qtqmlmodules.pro | ||
52 | index 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 | ||
62 | diff --git a/tests/auto/qmltest/qmltest.pro b/tests/auto/qmltest/qmltest.pro | ||
63 | index 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 | |||
32 | diff --git a/tools/qmltestrunner/qmltestrunner.pro b/tools/qmltestrunner/qmltestrunner.pro | 74 | diff --git a/tools/qmltestrunner/qmltestrunner.pro b/tools/qmltestrunner/qmltestrunner.pro |
33 | index 5184c1f..668cf17 100644 | 75 | index 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 | -- |