Am 30.08.2010 um 06:14 schrieb Cyrille Artho:

> Hi LyX/Mac developers,
> I have tried to locally compile qt4 and LyX (devel, and 1.6.7) to debug a 
> problem with copying/pasting graphics on Mac OS X. I think I have found the 
> place in the code that I need to fix, but I cannot build LyX, so I cannot 
> continue debugging.

Hi Cyrille,

I'm building LyX with Qt4 frameworks using the script 
"development/LyX-Mac-binary-release.sh". 
I'll try to build with statically linked Qt later and report what I find - 
it'll take some time.
At the time of the last change in INSTALL.MacOS the latest Qt4 was 4.6.2. 
But I think using 4.6.3 will make no difference for your problem...

Stephan

> I have compiled qt according to the instructions in INSTALL.MacOS in the 
> lyx-devel sources, with the exception of using 64 bits because my system is 
> not set up for 32 bits:
> 
> ./configure -opensource -silent -static -release -fast -no-framework 
> -no-webkit -no-qt3support -no-javascript-jit -no-dbus -no-exceptions -nomake 
> examples -nomake tools -nomake demos -nomake docs -arch x86_64 -prefix 
> ${HOME}/qt4
> 
> 
> The version of QT which I used is 4.6.2, because INSTALL.MacOS referred to 
> that older version rather than the current 4.6.3.
> 
> Likewise, LyX was configured with the usual options:
> 
> ./configure --prefix=${HOME}/LyX-devel.app --with-version-suffix=-2.0 
> --with-qt4-dir=${HOME}/qt4 --with-included-gettext --enable-optimization=-O2  
> --disable-stdlib-debug && make
> 
> 
> I only get a few warnings during compilation, but otherwise it is successful. 
> What should I do to fix the problem with LyX crashing?

I'll have to test your recipe to answer this.

> 
> The problem is identical on lyx-devel from svn, and on lyx 1.6.7.
> 
> * Do I need a different qt_menu.nib (it's a directory containing several 
> files) from somewhere other than the qt sources?
> 
> * Is it the -static flag in my QT configuration that causes the problem? At 
> least 1 1/2 years ago, this was not supported yet:
> 
> http://lists.trolltech.com/pipermail/qt4-preview-feedback/2009-February/000563.html
> 
> * Is there a way for the LyX compilation process to include qt_menu.lib, or 
> to not require it?
> 
> * Do I have to compile qt as universal and LyX as 32 bits? (As the initial 
> issue are missing files, this may not be the case.)

No, I don't think so.

> My Mac OS X is the latest version (10.6.4), with gcc 4.2.1, Darwin Kernel 
> 10.4.0.

Reply via email to