qt5quickcontrols2: fix examples compile without Qt widgets module
authorPeter Seiderer <ps.report@gmx.net>
Sat, 25 Nov 2017 21:54:25 +0000 (22:54 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 1 Dec 2017 22:24:54 +0000 (23:24 +0100)
commit573a4a0bc8b14291255e06ac709566220fd3cdf9
treeced8023932d320b273d62b4ba47bc6b3a4b9969c
parent5eb43c83c10aa9cd5cdf2302af0682b3d9978ecc
qt5quickcontrols2: fix examples compile without Qt widgets module

Add upstream suggested patch to fix flatstyle example configure
(needs widgets module).

Fixes:

  cd flatstyle/ && ( test -e Makefile || .../host/bin/qmake -o Makefile .../build/qt5quickcontrols2-5.9.2/examples/quickcontrols2/flatstyle/flatstyle.pro ) && make -f Makefile
  Project ERROR: Unknown module(s) in QT: widgets
  make[1]: *** [Makefile:202: sub-flatstyle-make_first] Error 3
  make[1]: Leaving directory '.../build/qt5quickcontrols2-5.9.2/examples/quickcontrols2'
  make: *** [Makefile:45: sub-quickcontrols2-make_first] Error 2

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[Thomas: move patch to 5.9.3 directory, since we've bumped
qtquickcontrols2 since then.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/qt5/qt5quickcontrols2/5.9.3/0001-Example-flatstyle-needs-widgets-module.patch [new file with mode: 0644]