All:

If one uses Alien Bob's QT5-5.7.1 package, the mlt build defaults to
QT4.  To use QT5, you need to compile the SBo QT5 with c++11 and then
compile mlt with c++11

This was a requirement since mlt-6.6.0 but I never noticed during
testing - because I never built with QT5.

This is a moot point for Kdenlive on SBo, since the new KDE QT5
framework is not available in 14.2.  But for flowblade (I think, will
test tonight) or other mlt based s/w, qt5 with c++11 (or C++14) may be
required.
---------------------
qt5-5.7.1 SBo version
=====================
Modify the following:

export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS -std=c++11"
./configure -v -c++std c++11 \

...

mlt-6.10.0 SBo version
======================
Modification are:

# 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

export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS $QTCXX"
./configure \

...

make clean
make
make install DESTDIR=$PKG
-------------------------

both now compile. For QT5 maybe add a user switch for c++11 rather than
have it be the default.


-Ed

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/

Reply via email to