qmlglsink: Fix build error when don't have QPA installed.
authorHaihua Hu <jared.hu@nxp.com>
Mon, 27 Jun 2016 10:15:08 +0000 (18:15 +0800)
committerMatthew Waters <matthew@centricular.com>
Mon, 27 Jun 2016 12:44:56 +0000 (22:44 +1000)
commit04fd6dc6c44e7b9227b5ed71ac93a06e0eaf8846
tree0d327b7a3abae9b323414ea3388352c97227934a
parent3be4b85a439c63de71a71ec3ddbe0dd7d08a90fc
qmlglsink: Fix build error when don't have QPA installed.

Check header file existance and wrap the header file include
in the necessary #ifdef to avoid build error.

https://bugzilla.gnome.org/show_bug.cgi?id=767553
ext/qt/qtitem.cc