configure: error: QT4 library not found

*nix specific usage questions
alpha645
New Cone
New Cone
Posts: 2
Joined: 18 Apr 2007 07:39

configure: error: QT4 library not found

Postby alpha645 » 18 Apr 2007 07:44

I'm having a hard time to let the configure program finding QT4. Everything goes well until this:

checking for QT4... no
configure: error: QT4 library not found

I have QT4 compiled myself and installed in:

/usr/local/Trolltech/Qt-4.2.3/

I tried this:

QT4_LIBS=/usr/local/Trolltech/Qt-4.2.3/lib and without the lib directory but nothing works.

My .configure uses this:

./configure --enable-libtool --disable-nls --disable-hal --enable-dbus --enable-release --disable-sout --disable-httpd --disable-vlm --disable-growl --disable-notify --enable-musicbrainz --enable-taglib --enable-dvdread --enable-opencv --disable-smb --disable-gnomevfs --disable-libcddb --enable-vcdx --enable-faad --enable-twolame --enable-real --enable-realrtsp --enable-flac --enable-tremor --with-dvbpsi=/usr/local/include/dvbpsi/ --enable-tarkin --enable-theora --disable-png --disable-xinerama --enable-snapshot --disable-fb --disable-wingdi --disable-oss --disable-upnp --enable-skins2 --enable-qt4 --disable-visual --disable-bonjour --with-x --with-tuning=i686 --with-ffmpeg-mp3lame --with-ffmpeg-faac --with-ffmpeg-dts --with-ffmpeg-vorbis --with-ffmpeg-theora --with-ffmpeg-ogg --with-ffmpeg-zlib --prefix=/usr/

The development package from my distro wasn't found either. What am I doing wrong?

Rémi Denis-Courmont
Developer
Developer
Posts: 15335
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Postby Rémi Denis-Courmont » 21 Apr 2007 15:52

VLC uses pkg-config to locate Qt4. The .pc file is probably not installed properly.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

alpha645
New Cone
New Cone
Posts: 2
Joined: 18 Apr 2007 07:39

Postby alpha645 » 22 Apr 2007 09:41

I'll give it a try, thanks

EricOnVlc
Blank Cone
Blank Cone
Posts: 10
Joined: 05 Apr 2007 09:58

Postby EricOnVlc » 22 Jun 2007 12:40

To make it working, you just need to do in a linux console the cmd

Code: Select all

QT4_LIBS=/usr/local/Trolltech/Qt-4.2.3/lib export QT4_LIBS
Hope it helps.

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Postby funman » 22 Jun 2007 22:45

more like PKG_CONFIG_PATH=/usr/local/Trolltech/Qt-4.2.3/lib/pkg-config ./configure xxxxxx


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 49 guests