qt: Fix build for Qt 5.9
authorPhilippe Normand <philn@igalia.com>
Tue, 31 Aug 2021 10:05:16 +0000 (11:05 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 31 Aug 2021 11:15:24 +0000 (11:15 +0000)
commitab6cb4c2c79f1c3681556f8fc98fbc95039f0b29
treef7becd46d6d55680162d206ef8834d4abd13a21e
parentaa3d2c3369781cc20cf216e7c093fba911b238e5
qt: Fix build for Qt 5.9

The QQuickItem::size() method was introduced in 5.10, so use direct width() and
height() access instead.

Fixes #908

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1069>
ext/qt/qtitem.cc