Skip to content

qt: Rework how we find the Qt QPA header

Jan Schmidt requested to merge thaytan/gst-plugins-good:qt5-qpa-optional into master

Instead of querying the Qt include path from the dependency or from qmake, rely on the qt5qml_dep to set the include path to QtGui correctly, and look for the header inside the private includedir.

Then we can use that path to include the header directly.

Reported in gst-plugins-base#780 (comment 548092)

Also, only check for moc-qt5/moc in PATH if not cross-compiling

Edited by GStreamer Release Monkey

Merge request reports

Loading