Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.8.0 Beta2
-
-
a6d8e89c2 (dev), 2fc585a51 (6.8), 5fa08f111 (6.7), 48797aebb (tqtc/lts-6.5)
-
Multimedia wk 29-30, Multimedia wk 31-32, Multimedia wk 35-38, Multimedia wk 39-40
Description
Noticed that if attempt to manually force-set -DQT_FEATURE_gstreamer_gl_wayland=ON (or x11=ON) using 6.8.0_beta2 that it results in an error about GlWayland or GlX11 not being found (see qtmultimedia.log) despite all the components being present on the system.
Implies that auto-detection is likely failing as well.
After inspection, in FindGStreamer.cmake there is:
DEPENDENCIES GStreamer::Video GStreamer::Base GStreamer::Core GStreamer::Gl XCB::XCB )
DEPENDENCIES GStreamer::Video GStreamer::Base GStreamer::Core GStreamer::Gl Wayland::Client )
But there is no qt_find_package statement for xcb nor wayland that I can see, so the condition is likely always false. As a test, removing the last dependency in both allowed it to compile successfully.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-127484 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
578427,5 | cmake: pull in xcb/wayland client targets and fix order | dev | qt/qtmultimedia | Status: NEW | +2 | -1 |
578428,5 | cmake: relax dependencies when using pkg-config | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |
578986,2 | cmake: relax dependencies when using pkg-config | 6.8 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
579226,2 | cmake: relax dependencies when using pkg-config | 6.7 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
579229,2 | cmake: relax dependencies when using pkg-config | tqtc/lts-6.5 | qt/tqtc-qtmultimedia | Status: MERGED | +2 | 0 |