summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/video/qmlvideofilter_opencl/qmlvideofilter_opencl.pro
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@digia.com>2015-02-23 14:50:11 +0100
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-02-24 10:30:15 +0000
commitf86a3b7bb3a601da9705ef178fda9658cdbfebb0 (patch)
tree31a491f3c994972ffc5a53f10aca5465d723270c /examples/multimedia/video/qmlvideofilter_opencl/qmlvideofilter_opencl.pro
parentb35a55f215bcf9298ceea5492da16b844507d202 (diff)
Add Linux and AMD support to the OpenCL filter example
Change-Id: I1ea91f93677c53322c3867db6069e4362c58cebd Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
Diffstat (limited to 'examples/multimedia/video/qmlvideofilter_opencl/qmlvideofilter_opencl.pro')
-rw-r--r--examples/multimedia/video/qmlvideofilter_opencl/qmlvideofilter_opencl.pro8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/multimedia/video/qmlvideofilter_opencl/qmlvideofilter_opencl.pro b/examples/multimedia/video/qmlvideofilter_opencl/qmlvideofilter_opencl.pro
index b391bb8d7..c83929f72 100644
--- a/examples/multimedia/video/qmlvideofilter_opencl/qmlvideofilter_opencl.pro
+++ b/examples/multimedia/video/qmlvideofilter_opencl/qmlvideofilter_opencl.pro
@@ -12,10 +12,10 @@ OTHER_FILES = main.qml
target.path = $$[QT_INSTALL_EXAMPLES]/multimedia/video/qmlvideofilter_opencl
INSTALLS += target
-# Edit these as necessary
-osx {
- LIBS += -framework OpenCL
-} else {
+osx: LIBS += -framework OpenCL
+unix: !osx: LIBS += -lOpenCL
+win32:!winrt {
+ # Edit these as necessary
INCLUDEPATH += c:/cuda/include
LIBPATH += c:/cuda/lib/x64
LIBS += -lopengl32 -lOpenCL