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?

Regards
Roger



On 11/12/2007, at 8:48 AM, Stefan Schimanski wrote:

Yes, INSTALL.cmake is the name. I always added some paragraphs for Xcode there some time ago. It also works with Xcode 3 from Leopard.

In fact you only create the project with the provided commands:

 * create a build directory, e.g. .../trunk/../build
* call in the build directory 'cmake .../trunk/development/cmake -G Xcode'
 * open .../trunk/../build/lyx-qt4.xcodeproj

Then just open the project from Xcode and start compiling. All that works fine with the opensource Qt version _in binary form_. No need to compile Qt yourself.

Stefan

Reply via email to