Hmm... I had a previous version of Qt installed (for building earlier versions of VLC) and building the newer Qt and QtQuick from the contribs directory worked for me just with just those make commands you used.
Anyway hopefully you can get past that, and if so I think the next step to make vlc's build use the contribs Qt is to do something like this:
Code: Select all
./configure PKG_CONFIG_PATH=/home/build/vlc/contrib/native/qt/lib/pkgconfig
The config directory depending on where you're doing your contribs build of course.
With that approach, I felt like I was getting *really* close to a successful build but I encountered some errors at the linking stage:
Code: Select all
CXXLD libqt_plugin.la
libtool: warning: library '/home/build/vlc/contrib/x86_64-linux-gnu/lib/libQt5QuickWidgets.la' was moved.
libtool: warning: library '/home/build/vlc/contrib/x86_64-linux-gnu/lib/libQt5QuickTemplates2.la' was moved.
libtool: warning: library '/home/build/vlc/contrib/x86_64-linux-gnu/lib/libQt5QuickControls2.la' was moved.
libtool: warning: library '/home/build/vlc/contrib/x86_64-linux-gnu/lib/libQt5Quick.la' was moved.
libtool: warning: library '/home/build/vlc/contrib/x86_64-linux-gnu/lib/libQt5Qml.la' was moved.
libtool: warning: library '/home/build/vlc/contrib/x86_64-linux-gnu/lib/libQt5Network.la' was moved.
libtool: warning: library '/home/build/vlc/contrib/x86_64-linux-gnu/lib/libQt5Widgets.la' was moved.
libtool: warning: library '/home/build/vlc/contrib/x86_64-linux-gnu/lib/libQt5Gui.la' was moved.
libtool: warning: library '/home/build/vlc/contrib/x86_64-linux-gnu/lib/libQt5Core.la' was moved.
/usr/bin/ld: .libs/libqt_plugin.so: version node not found for symbol qt_version_tag@Qt_5.10
/usr/bin/ld: failed to set dynamic section sizes: Bad value
collect2: error: ld returned 1 exit status
Makefile:16755: recipe for target 'libqt_plugin.la' failed
make[4]: *** [libqt_plugin.la] Error 1
I don't have the knowledge to move forward from that I'm afraid.
If you just need LibVLC, but don't need the QT UI, you could pass --disable-qt to configure, which is what I ended up doing because I'd had enough :-/