From 197f9239683543cd3ac2848d595be0a1b5bcf4ca Mon Sep 17 00:00:00 2001 From: Eric BENARD Date: Mon, 27 May 2013 23:43:51 +0000 Subject: [PATCH] qtdeclarative-5.0.2: fix examples compilation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit (From meta-qt5 rev: 7994fc13da2971376621e9d8653f89e1d9323eaa) Signed-off-by: Eric Bénard Signed-off-by: Martin Jansa Signed-off-by: Patrick Ohly --- .../0001-qmltestexample-fix-link.patch | 34 ++++++++++++++++++++++ meta-qt5/recipes-qt/qt5/qtdeclarative_5.0.2.bb | 4 +++ 2 files changed, 38 insertions(+) create mode 100644 meta-qt5/recipes-qt/qt5/qtdeclarative/0001-qmltestexample-fix-link.patch diff --git a/meta-qt5/recipes-qt/qt5/qtdeclarative/0001-qmltestexample-fix-link.patch b/meta-qt5/recipes-qt/qt5/qtdeclarative/0001-qmltestexample-fix-link.patch new file mode 100644 index 0000000..7ed95e4 --- /dev/null +++ b/meta-qt5/recipes-qt/qt5/qtdeclarative/0001-qmltestexample-fix-link.patch @@ -0,0 +1,34 @@ +From e22cb54286083886be5081332de2f64ab0b78b4b Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Eric=20B=C3=A9nard?= +Date: Sun, 26 May 2013 14:26:19 +0200 +Subject: [PATCH] qmltestexample: fix link +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +else we get : +ld: warning: libQt5Quick.so.5, needed by libQt5QuickTest.so, not found + +Upstream-Status: Inappropriate + +Signed-off-by: Eric Bénard +--- + examples/qmltest/qmltest/qmltest.pro | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/examples/qmltest/qmltest/qmltest.pro b/examples/qmltest/qmltest/qmltest.pro +index b5893c5..1b00e6c 100644 +--- a/examples/qmltest/qmltest/qmltest.pro ++++ b/examples/qmltest/qmltest/qmltest.pro +@@ -14,7 +14,7 @@ TESTDATA += tst_basic.qml tst_item.qml + # This code exists solely for the purpose of building this example + # inside the examples/ hierarchy. + +-QT += qml qmltest ++QT += qml qmltest quick + + macx: CONFIG -= app_bundle + +-- +1.8.1.4 + diff --git a/meta-qt5/recipes-qt/qt5/qtdeclarative_5.0.2.bb b/meta-qt5/recipes-qt/qt5/qtdeclarative_5.0.2.bb index 5853c96..6f67938 100644 --- a/meta-qt5/recipes-qt/qt5/qtdeclarative_5.0.2.bb +++ b/meta-qt5/recipes-qt/qt5/qtdeclarative_5.0.2.bb @@ -3,5 +3,9 @@ require ${PN}.inc PR = "${INC_PR}.0" +SRC_URI += " \ + file://0001-qmltestexample-fix-link.patch \ +" + SRC_URI[md5sum] = "55ab45a7a17db5b202b225603a35a37c" SRC_URI[sha256sum] = "dcfcc6c0d1913d285dd7b42dd9bc457c304f3e3074a1e0d875fff1e9a8318520" -- 2.7.4