Page 1 of 1

how to configure vlc for Qt5Core >= 5.11.0

Posted: 12 Apr 2019 20:41
by mangup
Hi,

I've updated to latest master and faced with configuration error
"checking for QT... no
configure: error: Requested 'Qt5Core >= 5.11.0' but version of Qt5 Core is 5.9.5"

Then I've installed latest Qt (5.12) to some folder, but failed to configure with command:
"./configure CFLAGS="-g -O0" CXXFLAGS="-g -O0" --disable-optimizations --enable-debug QT_LIBS=/path/to/Qt/5.12.2/gcc_64/lib QT5_X11_LIBS=/path/to/Qt/5.12.2/gcc_64/lib"
Result is the same:
"checking for QT... no
configure: error: Requested 'Qt5Core >= 5.11.0' but version of Qt5 Core is 5.9.5"

So, what is the correct way to ./configure vlc with specific Qt folder ?

Re: how to configure vlc for Qt5Core >= 5.11.0

Posted: 16 Apr 2019 08:43
by Jean-Baptiste Kempf
Use the contribs, to build Qt5

Re: how to configure vlc for Qt5Core >= 5.11.0

Posted: 16 Apr 2019 09:43
by chubinou
Hi,

to build vlc with an external Qt installation you can use something like

../configure PKG_CONFIG_PATH=/home/pierre/Qt/5.11.3/gcc_64/lib/pkgconfig

Re: how to configure vlc for Qt5Core >= 5.11.0

Posted: 16 Apr 2019 12:49
by mangup
PKG_CONFIG_PATH works well. Thanks.

Re: how to configure vlc for Qt5Core >= 5.11.0

Posted: 18 Apr 2019 17:47
by mangup
Btw, how to "Use the contribs, to build Qt5" ?

Re: how to configure vlc for Qt5Core >= 5.11.0

Posted: 18 Apr 2019 20:56
by Jean-Baptiste Kempf
cd contribs; mkdir build; cd build; ../bootstrap