On Fri, Dec 06, 2002 at 02:15:11AM -0300, John Coppens wrote:
> /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.
where is the actual Qt library itself ? Directly in /usr/lib ? If so,
you need to set $QTDIR to /usr/lib/qt-2.3.1, so we find the 2.3.1
headers, assuming that the link is set to point to qt2
> Ok. I forgot to mention there's a symlink (qt) in the same place that
> points to one of both.
And which is it set to.
> > > FRONTEND_LDFLAGS="\$(QT_LDFLAGS)"
> > > FRONTEND_INCLUDES="-I\${srcdir}/qt2 \$(QT_INCLUDES)"
> >
> Ok - but even when LyX detects 3.0.4, the qt2 bits of above _are_ included.
> Is that correct?
Yes, but this is just the name of the directory in the lyx source and
has absolutely nothing to do with qt 2 vs. qt 3
> =========Note: there is no libqt2... just libqt - should there be a link?
No, this is just probing for a suitably named library.
> 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
This should work fine *assuming* your symlink in /usr/lib is pointing to
qt 2.
> 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 &)
I do not understand how this can happen. Are you sure that you do a
"make distclean" after fiddling with the configuration ?
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