how to configure vlc for Qt5Core >= 5.11.0

This forum is about all development around libVLC.
mangup
Blank Cone
Blank Cone
Posts: 71
Joined: 12 Apr 2019 20:23

how to configure vlc for Qt5Core >= 5.11.0

Postby mangup » 12 Apr 2019 20:41

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 ?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: how to configure vlc for Qt5Core >= 5.11.0

Postby Jean-Baptiste Kempf » 16 Apr 2019 08:43

Use the contribs, to build Qt5
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

chubinou
Developer
Developer
Posts: 521
Joined: 23 Jul 2015 15:19

Re: how to configure vlc for Qt5Core >= 5.11.0

Postby chubinou » 16 Apr 2019 09:43

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

mangup
Blank Cone
Blank Cone
Posts: 71
Joined: 12 Apr 2019 20:23

Re: how to configure vlc for Qt5Core >= 5.11.0

Postby mangup » 16 Apr 2019 12:49

PKG_CONFIG_PATH works well. Thanks.

mangup
Blank Cone
Blank Cone
Posts: 71
Joined: 12 Apr 2019 20:23

Re: how to configure vlc for Qt5Core >= 5.11.0

Postby mangup » 18 Apr 2019 17:47

Btw, how to "Use the contribs, to build Qt5" ?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: how to configure vlc for Qt5Core >= 5.11.0

Postby Jean-Baptiste Kempf » 18 Apr 2019 20:56

cd contribs; mkdir build; cd build; ../bootstrap
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 38 guests