This should let the current SBo verions of mlt and qt5 to play nice. thanks to those who provided clues and testing as to what was happening.
qt5-5.7.1 SBo version
=====================
Modify the following:
Code:
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS -std=c++11"
./configure -v -c++std c++11 \
mlt-6.10.0 SBo version
======================
Modification are:
Code:
# Use qt5 if present, otherwise system default
if pkg-config --exists Qt5 ; then
qt="--qt-libdir=$(pkg-config Qt5 --variable=libdir)
--qt-includedir=$(pkg-config Qt5 --variable=headerdir)"
QTCXX="-std=c++11"
else
qt="--qt-libdir=$(pkg-config Qt --variable=libdir)
--qt-includedir=$(pkg-config Qt --variable=headerdir)"
fi
and
Code:
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS $QTCXX"
./configure \
...
make clean
make
make install DESTDIR=$PKG
both should now compile so that mlt will have qt5 support. Let me know how it goes.