-
Committer:
Gerry Boland
-
Date:
2014-07-07 19:33:56 UTC
-
mto:
This revision was merged to the branch mainline in
revision
171.
-
Revision ID:
gerry.boland@canonical.com-20140707193356-g1hn2n3hgm43oz3j
Workaround GL/GLES conflict between Qt and Mir. Split into 3 packages: GL qpa, GLES qpa & QML plugin
Mir is GLES only. Qt on desktop is desktop-GL only. To workaround this, (ab)use the fact that MESA on the desktop allows you to bind GL apis to a GLES context via eglBindAPI.
To use this, need to compile with QPA separately for GL and GLES targets. Thus need to split the packaging into:
+ qtmir-android - qpa plugin for GLES targets
+ qtmir-desktop - qpa plugin for desktop-GL targets (uses MESA hack)
+ qtdeclarative5-qtmir-plugin - the QML plugin
Also stopped unit tests from being installed