projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f9ca07
)
meson: Add macOS definitions for qmlgl plugin
author
Nirbheek Chauhan
<nirbheek@centricular.com>
Tue, 29 Jan 2019 06:42:51 +0000
(12:12 +0530)
committer
Nirbheek Chauhan
<nirbheek@centricular.com>
Tue, 29 Jan 2019 06:49:37 +0000
(12:19 +0530)
Tested with Cerbero.
ext/qt/meson.build
patch
|
blob
|
history
diff --git
a/ext/qt/meson.build
b/ext/qt/meson.build
index
e09d29c
..
7ee18f1
100644
(file)
--- a/
ext/qt/meson.build
+++ b/
ext/qt/meson.build
@@
-121,7
+121,15
@@
if have_cxx and build_gstgl
endif
endif
- # FIXME: OSX/iOS definitions
+ # FIXME: iOS definitions
+ if gst_gl_have_window_cocoa and gst_gl_have_platform_cgl
+ qt5macextras = dependency('qt5', modules : ['MacExtras'], required : false)
+ if qt5macextras.found()
+ qt_defines += ['-DHAVE_QT_MAC']
+ optional_deps += qt5macextras
+ have_qt_windowing = true
+ endif
+ endif
if have_qt_windowing
# Build it!