Page 1 of 1

configure: error: QT4 library not found

Posted: 18 Apr 2007 07:44
by alpha645
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?

Posted: 21 Apr 2007 15:52
by RĂ©mi Denis-Courmont
VLC uses pkg-config to locate Qt4. The .pc file is probably not installed properly.

Posted: 22 Apr 2007 09:41
by alpha645
I'll give it a try, thanks

Posted: 22 Jun 2007 12:40
by EricOnVlc
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.

Posted: 22 Jun 2007 22:45
by funman
more like PKG_CONFIG_PATH=/usr/local/Trolltech/Qt-4.2.3/lib/pkg-config ./configure xxxxxx