~mterry/qtvideo-node/dont-install-tests

« back to all changes in this revision

Viewing changes to unittests/shadervideonode/shadervideonode.pro

  • Committer: Tarmac
  • Author(s): Jim Hodapp
  • Date: 2013-03-14 15:55:17 UTC
  • mfrom: (22.1.7 qtvideo-node)
  • Revision ID: tarmac-20130314155517-0vo0x2c5xgxde3ew
Enable Qt multithreaded rendering to work for both the media player and camera apps.

Approved by PS Jenkins bot, Günter Schwann.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 
7
7
QT += testlib multimedia-private qtmultimediaquicktools-private opengl
8
8
 
 
9
# This is to avoid a segfault in shadervideonode.cpp when it tries to call
 
10
# glGenTextures(), since the platform currently does not support real OpenGL
 
11
# when running unit tests.
 
12
DEFINES += TST_NO_OPENGL
 
13
 
9
14
SOURCES += tst_shadervideonode.cpp \
10
15
    ../../src/shadervideomaterial.cpp \
11
16
    ../../src/shadervideonode.cpp \
12
17
    ../../src/shadervideoshader.cpp \
 
18
    ../../src/snapshotgenerator.cpp \
13
19
    camera.cpp \
14
20
    player.cpp
15
21
 
16
22
HEADERS += camera_compatibility_layer.h \
17
23
           media_compatibility_layer.h
18
24
 
19
 
INCLUDEPATH += ../../src
 
25
INCLUDEPATH += ../../src /usr/include/hybris/camera /usr/include/libqtubuntu-media-signals
 
26
LIBS += -lqtubuntu-media-signals