Roger Mc Murtrie schrieb:
I have now managed to build and run LyX from Xcode.
However, when I first ran it using the default executable lyx-qt4 the Lyx splash window stated version 1.5.0. Does this mean that version 1.5.0 has been built even though I have generated the project from my up to-date lyx-devel directory? I next set up a custom executable using the lyx executable from my 1.5svn.app. Setting this as the active executable and running it the Lyx splash window stated version 1.5.3svn but presumably this was not the executable built by Xcode? How can I get cmake to generate the project with 1.5svn as the lyx-qt4 default executable?

INSTALL.cmake states
"Select the lyx-qt4 executable in Xcode, click on "Get Info" in the
context menu and add "-sysdir a_valid_LyX_resource_directory"
pointing e.g. to a valid Contents/Resources of a LyX.app directory."

What field of the Get Info dialog should "-sysdir a_valid_LyX_resource_directory" be added to? Or perhaps this not appropriate for Xcode 3.0?
It's a command line option for the executable. I don't have an Xcode here right now to check myself.

The wrong version number maybe comes from an old resources dir. There are several ways to create up to date resources:

1) run ./configure once (it may fail because of missing Qt) and then go to lib dir an say "make install". The resources will be at /Applications/LyX.app/Contents/Resources

2) You can use the lib dir directly as resource dir. Use the -sysdir command line or put a link at /Applications/LyX.app/Contents to point to the lib dir of the source tree.

Stefan

Reply via email to