~mir-team/qtmir/devel-mir-next

« back to all changes in this revision

Viewing changes to tests/modules/TaskController/TaskController.pro

  • 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

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
TEMPLATE = app
 
1
include(../../test-includes.pri)
 
2
include(../common/common.pri)
 
3
 
2
4
TARGET = taskcontroller_test
3
 
CONFIG += testcase
4
 
 
5
 
include(../common/common.pri)
6
5
 
7
6
SOURCES += \
8
7
    taskcontroller_test.cpp