On Thu, Dec 05, 2002 at 03:09:20PM -0300, John Coppens wrote:

> QTDIR is pointing to the 3.0.4 version, which is logical, because its
> the latest. But LyX internally has quite a few hardwired links to the
> qt2 directories.

There are no hardwired links at all.

Where are the Qt 3.0.4 headers on your system ?

You must make sure that it finds the same library version and headers
version. Check config.log for the qt bits

> g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -I../../../../src 
>-I../../../../src/frontends -I../../../../src/frontends/qt2 -I./qt2 
>-I/usr/lib/qt-2.3.1/include -I../../../../boost 
>-I../../../../src/frontends/controllers -isystem /usr/X11R6/include 
>-DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION -g -O 
>-Wno-non-template-friend -ftemplate-depth-30 -W -Wall -c QAboutDialogBase.C 
>-Wp,-MD,.deps/QAboutDialogBase.TPlo
> QAboutDialogBase.C: In method `QAboutDialogBase::QAboutDialogBase(QWidget * = 0, 
>const char * = 0, bool = FALSE, unsigned int = 0)':
> QAboutDialogBase.C:36: implicit declaration of function `int trUtf8(...)'
> QAboutDialogBase.C:36: no matching function for call to 
>`QAboutDialogBase::setCaption (int)'
> /usr/lib/qt-2.3.1/include/qwidget.h:264: candidates are: void 
>QWidget::setCaption(const QString &)
> QAboutDialogBase.C:49: no matching function for call to `QLabel::setText (int)'
> /usr/lib/qt-2.3.1/include/qlabel.h:100: candidates are: void QLabel::setText(const 
>QString &)
> ....And so on....

Something has got badly confused. Btw, deleting config.log makes no
difference, maybe you are thinking of config.cache

> Does it have to be an explicit version of Qt?

No.

regards
john

Reply via email to