Hi John. I didn't notice the first time around this reply was turned down by the lyx mail server (happened before):
On Thu, 5 Dec 2002 22:17:38 +0000 John Levon <[EMAIL PROTECTED]> wrote: > On Thu, Dec 05, 2002 at 07:11:57PM -0300, John Coppens wrote: > > > > Where are the Qt 3.0.4 headers on your system ? > > Please answer this, or I can't help you. > > > Both 3.0.4 and 2.3.1 are under /usr/lib. Sorry.. But that's really _it_: /usr/lib/qt-2.3.1/include/qt.h /usr/lib/qt-3.0.4/include/qt.h Don't ask me WHY. This is a Slackware Distro, and it's installed that way. > > How do you expect us to guess which one you want then ? Ok. I forgot to mention there's a symlink (qt) in the same place that points to one of both. > > > FRONTEND_LDFLAGS="\$(QT_LDFLAGS)" > > FRONTEND_INCLUDES="-I\${srcdir}/qt2 \$(QT_INCLUDES)" > > This is src/frontends/qt2/ in the LyX source. > > All the variables are set at configure time. Ok - but even when LyX detects 3.0.4, the qt2 bits of above _are_ included. Is that correct? > > You still haven't posted the relevant bits from config.log either ... > > regards > john > -- > "Yeah, I woke up in the day accidentally once, the moon was on fire for some > reason and I couldn't see very well and all the bandwidth disappeared, it was > very scary :(" > - Orion ---------Parts from the config.log (This is with $QTDIR=2.3.1/symlink to 2.3.1) configure:13884: result: /usr/lib/qt-2.3.1/bin/uic configure:13899: checking for Qt library name configure:13944: g++ -o conftest -g -O -Wno-non-template-friend -ftemplate-depth -30 -W -Wall -I/usr/lib/qt-2.3.1/include -L/usr/lib/qt-2.3.1/lib -lqt3 -isystem /usr/X11R6/include conftest.cc -lSM -lICE -lc -lm -L/usr/X11R6/lib -lX11 > &5 /usr/i386-slackware-linux/bin/ld: cannot find -lqt3 collect2: ld returned 1 exit status --- configure:13944: g++ -o conftest -g -O -Wno-non-template-friend -ftemplate-depth -30 -W -Wall -I/usr/lib/qt-2.3.1/include -L/usr/lib/qt-2.3.1/lib -lqt2 -isystem /usr/X11R6/include conftest.cc -lSM -lICE -lc -lm -L/usr/X11R6/lib -lX11 > &5 /usr/i386-slackware-linux/bin/ld: cannot find -lqt2 collect2: ld returned 1 exit status configure:13947: $? = 1 =========Note: there is no libqt2... just libqt - should there be a link? config.status:760: creating src/frontends/xforms/forms/Makefile config.status:760: creating src/frontends/qt2/Makefile config.status:760: creating src/frontends/qt2/moc/Makefile config.status:760: creating src/frontends/qt2/ui/Makefile config.status:760: creating src/frontends/qt2/ui/moc/Makefile config.status:760: creating src/frontends/gnome/Makefile config.status:864: creating src/config.h -------- lyx_cv_modern_streams=no lyx_cv_qtversion=$'2.3.1 ' lyx_cv_std_count=yes -------- qt_cv_dir=/usr/lib/qt-2.3.1 qt_cv_includes=/usr/lib/qt-2.3.1/include qt_cv_libname=-lqt qt_cv_libraries=/usr/lib/qt-2.3.1/lib qt_cv_path_moc=/usr/lib/qt-2.3.1/bin/moc qt_cv_path_moc2=NONE qt_cv_path_uic=/usr/lib/qt-2.3.1/bin/uic -------- FRONTEND='qt2' FRONTEND_GUILIB='qt2/*.lo qt2/ui/*.lo qt2/moc/*.lo qt2/ui/moc/*.lo' FRONTEND_INCLUDES='-I${srcdir}/qt2 $(QT_INCLUDES)' FRONTEND_LDFLAGS='$(QT_LDFLAGS)' FRONTEND_LIBS='$(QT_LIB)' -------- QT_INCLUDES='-I/usr/lib/qt-2.3.1/include' QT_LDFLAGS='-L/usr/lib/qt-2.3.1/lib' QT_LIB='-lqt' QT_VERSION='2.3.1 ' RANLIB='ranlib' SET_MAKE='' SHELL='/bin/sh' STRIP='strip' UIC='/usr/lib/qt-2.3.1/bin/uic' -------- This is the (first) error when doing make: 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 &) QAboutDialogBase.C:52: no matching function for call to `QTabWidget::insertTab (QWidget *&, int)'