qmake5_base: add support for qtwaylandscanner

qtwayland uses it's own protocol specification scanner now which needs to be mentioned at
compilation time the same way then the wayland-scanner.

Signed-off-by: Simon Busch <morphis@gravedo.de>
qtbase-5.0.2: backport wayland-scanner changes from 5.1.0

* As qtwayland uses now it's own wayland-scanner implementation we need to backport this
  feature.

Signed-off-by: Simon Busch <morphis@gravedo.de>
qtwayland-native: add recipe

We need a native recipe for qtwayland as it generates some source files at runtime for
wayland protocol extensions from xml. In older versions of qtwayland wayland-scanner was
used but now it ships its own version called qtwaylandscanner.

Signed-off-by: Simon Busch <morphis@gravedo.de>
qtwayland: bump SRCREV

* qtwayland fails, because we'll need to add qtwayland-native to provide
  qtwaylandscanner in QT_EXTERNAL_HOST_BINS location (otherwise build
  will try to use /usr/bin/qt5/qtwaylandscanner)

* native recipe is needed to build qtwayland-scanner which
  is required after this upstream commit

  commit 05d054ad7207764293525661876ebc689940a15c
  Author: Samuel R<C3><B8>dal <samuel.rodal@digia.com>
  Date:   Tue Apr 9 16:52:59 2013 +0200
    Introduced qtwaylandscanner.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
qtwayland: Add xproto dependency together with libxkbcommon

* xproto provides X11/keysym.h which is used when testing libxkbcommon support:
executing config test xkbcommon
+ cd /OE/work/i586-oe-linux/qtwayland/5.1.0+git/build/config.tests/xkbcommon && /OE/sysroots/x86_64-linux/usr/bin/qt5/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" /OE/work/i586-oe-linux/qtwayland/5.1.0+git/git/config.tests/xkbcommon
+ cd /OE/work/i586-oe-linux/qtwayland/5.1.0+git/build/config.tests/xkbcommon && make      MAKEFLAGS='-j 9'     OE_QMAKE_COMPILER='i586-oe-linux-gcc  -m32 -march=i586 --sysroot=/OE/sysroots/qemux86'     OE_QMAKE_CC='i586-oe-linux-gcc  -m32 -march=i586 --sysroot=/OE/sysroots/qemux86'     OE_QMAKE_CXX='i586-oe-linux-g++  -m32 -march=i586 --sysroot=/OE/sysroots/qemux86'     OE_QMAKE_CFLAGS=' -O2 -pipe -g -feliminate-unused-debug-types'     OE_QMAKE_CXXFLAGS=' -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden'     OE_QMAKE_LINK='i586-oe-linux-g++  -m32 -march=i586 --sysroot=/OE/sysroots/qemux86'     OE_QMAKE_LDFLAGS='-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed'     OE_QMAKE_AR='i586-oe-linux-ar'     OE_QMAKE_STRIP='echo'     OE_QMAKE_WAYLAND_SCANNER='/OE/sysroots/x86_64-linux/usr/bin/wayland-scanner'
compiling /OE/work/i586-oe-linux/qtwayland/5.1.0+git/git/config.tests/xkbcommon/main.cpp
/OE/work/i586-oe-linux/qtwayland/5.1.0+git/git/config.tests/xkbcommon/main.cpp:42:24: fatal error: X11/keysym.h: No such file or directory
compilation terminated.
make: *** [.obj/release-shared/main.o] Error 1
test xkbcommon FAILED

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>

Conflicts:
	recipes-qt/qt5/qtwayland.inc
qmake5: Add trailing space in DEPENDS_prepend instead of QT5TOOLSDEPENDS

* this way it looks better in bitbake -e, instead of:
  ${QT5TOOLSDEPENDS}${BASEDEPENDS}

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
WIP: qt5: add recipes for 5.1.0

* only rebased patches and updated SRC_URI checksum, haven't even build
  tested it yet

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
qtdeclarative: fix reference to libQt5Bootstrap.a

Signed-off-by: Simon Busch <morphis@gravedo.de>
qt5: package png image files of QML components too

Fixes the following packaging warnings with qtdeclarative 5.1.0:

WARNING: QA Issue: qtdeclarative: Files/directories were installed but not shipped
  /usr/lib/qt5/qml/QtQuick/Dialogs/images
  /usr/lib/qt5/qml/QtQuick/Dialogs/images/sunken_frame.png
  /usr/lib/qt5/qml/QtQuick/Dialogs/images/window_border.png
  /usr/lib/qt5/qml/QtQuick/Dialogs/images/slider_handle.png
  /usr/lib/qt5/qml/QtQuick/Dialogs/images/folder.png
  /usr/lib/qt5/qml/QtQuick/Dialogs/images/up.png
  /usr/lib/qt5/qml/QtQuick/Dialogs/images/checkers.png
  /usr/lib/qt5/qml/QtQuick/Dialogs/images/copy.png
  /usr/lib/qt5/qml/QtQuick/Dialogs/images/crosshairs.png

Signed-off-by: Simon Busch <morphis@gravedo.de>