From 7327781083aea593b4911b6da7105e4984e28c68 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Mon, 4 Nov 2013 23:12:21 +0100 Subject: [PATCH] qtwayland: Fix Project ERROR: Module v8 has no public API Signed-off-by: Martin Jansa --- .../qtwayland/fix.missing.v8.public.api.patch | 30 +++++++++++++++++++ recipes-qt/qt5/qtwayland_git.bb | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 recipes-qt/qt5/qtwayland/fix.missing.v8.public.api.patch diff --git a/recipes-qt/qt5/qtwayland/fix.missing.v8.public.api.patch b/recipes-qt/qt5/qtwayland/fix.missing.v8.public.api.patch new file mode 100644 index 0000000000..6bbbaa1ebc --- /dev/null +++ b/recipes-qt/qt5/qtwayland/fix.missing.v8.public.api.patch @@ -0,0 +1,30 @@ +From b455f5acaec811b70ae3eb896c08a634909cb9d1 Mon Sep 17 00:00:00 2001 +From: Carsten Munk +Date: Wed, 17 Jul 2013 07:28:04 +0000 +Subject: [PATCH] Fix Project ERROR: Module v8 has no public API. make[1]: *** + [sub-qml-compositor-make_first] Error 3 + +Cherry-picked from: +https://github.com/kvahlman/qtwayland/commit/b455f5acaec811b70ae3eb896c08a634909cb9d1 + +Signed-off-by: Carsten Munk +--- + qtwayland/examples/qml-compositor/qml-compositor.pro | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/examples/qml-compositor/qml-compositor.pro b/examples/qml-compositor/qml-compositor.pro +index 0bc0b02..e397002 100644 +--- a/examples/qml-compositor/qml-compositor.pro ++++ b/examples/qml-compositor/qml-compositor.pro +@@ -2,7 +2,7 @@ DEFINES += QT_COMPOSITOR_QUICK + + LIBS += -L ../../lib + +-QT += quick qml v8 ++QT += quick qml + QT += quick-private + + QT += compositor +-- +1.8.4 + diff --git a/recipes-qt/qt5/qtwayland_git.bb b/recipes-qt/qt5/qtwayland_git.bb index ca7f3de117..02971d66af 100644 --- a/recipes-qt/qt5/qtwayland_git.bb +++ b/recipes-qt/qt5/qtwayland_git.bb @@ -5,6 +5,8 @@ require ${PN}.inc # this PV is only to indicate that this recipe is compatible with qt5 5.1.0 PV = "5.1.0+git${SRCPV}" +SRC_URI += "file://fix.missing.v8.public.api.patch" + # newer revisions depend on newer wayland-1.1 APIs SRCREV = "87dba733acfddecd8562e8e26ce5f994aa499fe3" # SRCREV = "ede872db1cdfdc2810c2dd29edd5fb6e1cdac0f5"