Thanks John...

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.

I now defined QTDIR to point to 2.3.1, reconfigured (deleted config.log
first), and in the final link, LyX still tries to access the 3.0.4
directory... I did a make clean, and then I get these errors:

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....

Does it have to be an explicit version of Qt?

John


On Thu, 5 Dec 2002 12:46:07 +0000
John Levon <[EMAIL PROTECTED]> wrote:

> On Thu, Dec 05, 2002 at 01:02:45AM -0300, John Coppens wrote:
> 
> > I'm trying to compile LyX CVS with the --with-frontend=qt option.
> > Configure goes quite well, but compilation fails at the end with a
> > long list of messages about missing references.
> > 
> > Now, configure reports Qt3, which really is installed. And I've
> > noticed that LyX actually explicitly links to qt2... I'm guessing
> > this is the cause if the problem. (I have both Qt's installed).
> 
> You have a) passed the wrong $QTDIR or set the wrong $QTDIR
> b) used a compiler version that doesn't match the one Qt was compiled
> with
> 
> regards
> john
> -- 
> "Trolls like content too."
>       - Bob Abooey, /.

Reply via email to