[gloucs] compiling with qt

Paul Robertson gloucs at mailman.lug.org.uk
Sun Aug 25 20:52:01 2002


> Ok, I've made the changes
> 
> under quanta I'm getting
> "QT... confiure: error: QT (>= QT 3.0.3) (library qt-mt) not found.
> Please check your installation!
> 
> under cervisia
> "error: QT (>=Qt 2.2.1)(libraries)not found. Please check your
> installation!"
> 
What's in /usr/lib/qt/lib/

qt-mt is the multi-threaded library usually called something like
libqt-mt.so.3.0.4. There should probably be some symbolic links
pointing to this too.

If there are no libraries then you need to get them or build them
from source.
If there is only the single threaded library libqt.so.3.0.x then
you need to get the mt library.
If the libraries seem to be present, maybe you need the
symlinks - try ldconfig.
If everything seems to be in order, then try to get configure to
produce a verbose output and scrutinize it.

> I've found an RPM for cervisia so thats fine now but all the RPM's for
> quanta appear to be broken above my current version (2.0.1).
> 
What do you mean? Are these source RPMs?

> 
> I'm going to do some more searching around to find out whats wrong.
> 
Good luck,
-- 
Paul

> cheers 
> Guy
> 
> On Sat, 2002-08-24 at 09:19, Paul Robertson wrote:
> > I don't know about the qt-developer package, but I do build qt
> > stuff every day.
> > 
> > Looking at the error messages, I'd say that you are trying to
> > link qt3 code against qt2 libraries. I don't know know how
> > you managed to compile the source files.
> > 
> > I'd say forget qt version 2 for now, or at least make a symlink
> > /usr/lib/qt which points to /usr/lib/qt3.
> > 
> > For completeness, you probably want these exports in
> > .bash_profile or somesuch place:
> > 
> > QTDIR=/usr/lib/qt
> > PATH=$QTDIR/bin:$PATH
> > MANPATH=$QTDIR/dox/man:$MANPATH
> > LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
> > export QTDIR, PATH, MANPATH, LD_LIBRARY_PATH
> > 
> > That should help the compiler and linker find the right stuff.
> > 
> > -- 
> > Paul
> 
> 
> _______________________________________________
> Gloucs mailing list
> Gloucs@mailman.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/gloucs