On Apr 24, 2007, at 10:42 AM, Jean-Marc Lasgouttes wrote:

"Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:

Bennett> People have been having troubles getting Qt 4.3 to work with
Bennett> LyX 1.5 on Mac. One problem has been compiling Qt 4.3 itself.
Bennett> In my case, I've had to configure Qt without libtiff support.

Bennett> A second problem is that LyX isn't able to find the Qt-4.3
Bennett> installation at configure time. To get around this, I've had
Bennett> to do:

Bennett>   export
Bennett> PKG_CONFIG_PATH=/PATH/TO/qt-4.3-install/lib/pkgconfig/

Bennett> before configuring LyX. Then LyX configures fine.

Did you try to use --with-qt-dir?

Yes (--with-qt4-dir, actually). Here's the complete configure line:

./configure --prefix=/Applications/LyX-devel.app --disable-concept- checks --with-version-suffix=-1.5svn --with-qt4-dir=/Users/bennett/ lyx/qt-4.3-install/ --without-aiksaurus --without-aspell --without- pspell --enable-optimization=-Os --without-x --with-included-gettext --with-frontend=qt4 --enable-debug --disable-stdlib-debug

Bennett> However, I now cannot compile; I get the following error:

Try to add "-framework Cocoa" at the right place.

That does it. (For others: that needs to be included in the setting of LDFLAGS *before* configuring. We'll need to modify the INSTALL.MacOSX instructions to include this. Anders: can you try this and, if successful, report on PPC performance?)

Thanks!

Bennett

Reply via email to