qt: Build fails on Ubuntu 18.04: 'size' was not declared in this scope
Currently trying to build the master
branch. However, the compilation stops with the following:
meson-log.txt
...
../subprojects/gst-plugins-good/ext/qt/qtitem.cc: In member function ‘void QtGLVideoItem::fitStreamToAllocatedSize(GstVideoRectangle*)’:
../subprojects/gst-plugins-good/ext/qt/qtitem.cc:332:13: error: ‘size’ was not declared in this scope
dst.w = size().width();
^~~~
../subprojects/gst-plugins-good/ext/qt/qtitem.cc:332:13: note: suggested alternative: ‘gsize’
dst.w = size().width();
^~~~
gsize
../subprojects/gst-plugins-good/ext/qt/qtitem.cc:339:17: error: ‘size’ was not declared in this scope
result->w = size().width();
^~~~
../subprojects/gst-plugins-good/ext/qt/qtitem.cc:339:17: note: suggested alternative: ‘gsize’
result->w = size().width();
^~~~
gsize
[2292/4257] Compiling C++ object subprojects/gst-plugins-good/ext/qt/libgstqmlgl.so.p/qtglrenderer.cc.o
ninja: build stopped: subcommand failed.
Also attached a meson-log.txt
; Hope that will help.
Edited by Tim-Philipp Müller