mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
configure: improve QPA check for cross compilation
Prefix the $QPA_INCLUDE_PATH with $PKG_CONFIG_SYSROOT_DIR just like when checking for opencv dir. https://bugzilla.gnome.org/show_bug.cgi?id=776399
This commit is contained in:
parent
3e519937a1
commit
db7f8ec3b9
1 changed files with 1 additions and 1 deletions
|
@ -2885,7 +2885,7 @@ AG_GST_CHECK_FEATURE(QT, [Qt elements], qt, [
|
||||||
HAVE_QT_WINDOWING="no"
|
HAVE_QT_WINDOWING="no"
|
||||||
QT_VERSION="`$PKG_CONFIG --modversion Qt5Core`"
|
QT_VERSION="`$PKG_CONFIG --modversion Qt5Core`"
|
||||||
QPA_INCLUDE_PATH=`$PKG_CONFIG --variable=includedir Qt5Core`/QtGui/${QT_VERSION}/QtGui
|
QPA_INCLUDE_PATH=`$PKG_CONFIG --variable=includedir Qt5Core`/QtGui/${QT_VERSION}/QtGui
|
||||||
AS_IF([test -f "$QPA_INCLUDE_PATH/qpa/qplatformnativeinterface.h"], [
|
AS_IF([test -f "$PKG_CONFIG_SYSROOT_DIR/$QPA_INCLUDE_PATH/qpa/qplatformnativeinterface.h"], [
|
||||||
QT_CFLAGS="$QT_CFLAGS -I$QPA_INCLUDE_PATH"
|
QT_CFLAGS="$QT_CFLAGS -I$QPA_INCLUDE_PATH"
|
||||||
HAVE_QT_QPA_HEADER="yes"
|
HAVE_QT_QPA_HEADER="yes"
|
||||||
], [AC_MSG_NOTICE([Cannot find QPA])])
|
], [AC_MSG_NOTICE([Cannot find QPA])])
|
||||||
|
|
Loading…
Reference in a new issue