Thanks! The use of Qt 3.3.5 solved all the configuration problems (maybe this should be noted in the INSTALL.MacOSX-file since the current instruction: "Download the GPL-licensed Qt/Mac Free Edition library source code from <http://www.trolltech.com/download/qt/mac.html>" points at version 3.4.

Unfortunately, the compilation ends in an error. The final terminal messages are:
...
BiblioModuleBase.C:109: error: syntax error before `->' token
BiblioModuleBase.C:110: error: syntax error before `->' token
BiblioModuleBase.C:111: warning: ISO C++ forbids declaration of `add' with no
   type
BiblioModuleBase.C:111: error: `int QToolTip::add' is not a static member of `
   class QToolTip'
BiblioModuleBase.C:111: warning: initializer list being treated as compound
   expression
BiblioModuleBase.C:111: warning: invalid conversion from `const char*' to `int'
BiblioModuleBase.C:112: error: parse error before `}' token
make[9]: *** [BiblioModuleBase.lo] Error 1
make[8]: *** [all-recursive] Error 1
make[7]: *** [all] Error 2
make[6]: *** [all-recursive] Error 1
make[5]: *** [all] Error 2
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Does anyone have a good idea on how to overcome this?

Anders

On Tuesday 27 December 2005 18:39, Anders Ekberg wrote:
> The problem comes with LyX configure, where I get "** qt library not
> found !". (Naturally subsequent compilation of LyX fails.)
> Going through the log-file I see that QTDIR seems to be pointing
> towards where I have the QT-code (QTDIR='/Users/anek/LyX-140pre3/qt-
> mac-opensource-src-4.1.0')

LyX does not work with qt 4.x, you need qt 3.x.

> Is this a known problem?

The problem is at your side. The configure script intentionally uses QTDIR to
determine where qt is. You should either set it to point to the binary
installation (it is never set by configure, so you or the qt install must
have set it), or you could use the switches --with-qt-includes and
--with-qt-libraries of configure if you don't have a a single qt directory.


Georg

Reply via email to