Re: LyX on Mac with Qt-4

2006-03-15 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : Bennett Helm a écrit : On Mar 11, 2006, at 4:26 AM, Abdelrazak Younes wrote: With current svn (revision 13371), after I comment out line 275, I can compile to the final linking stage, which then bombs for what I assume are the same reasons others have had problems

Re: LyX on Mac with Qt-4

2006-03-15 Thread Abdelrazak Younes
Bennett Helm a écrit : On Mar 11, 2006, at 4:26 AM, Abdelrazak Younes wrote: With current svn (revision 13371), after I comment out line 275, I can compile to the final linking stage, which then bombs for what I assume are the same reasons others have had problems compiling with gcc-4.0.1(2?).

Re: LyX on Mac with Qt-4

2006-03-14 Thread Bennett Helm
On Mar 11, 2006, at 4:26 AM, Abdelrazak Younes wrote: Abdelrazak Younes a écrit : Bennett Helm a écrit : Dialogs.C:275: error: expected type-specifier before 'ControlRef' Dialogs.C:275: error: expected `)' before 'ControlRef' Dialogs.C:275: error: no matching function for call to 'lyx::front

Re: LyX on Mac with Qt-4

2006-03-11 Thread Angus Leeming
Abdelrazak Younes wrote: Abdelrazak Younes a écrit : Bennett Helm a écrit : Dialogs.C:275: error: expected type-specifier before 'ControlRef' Dialogs.C:275: error: expected `)' before 'ControlRef' Dialogs.C:275: error: no matching function for call to 'lyx::frontend::Dialog::setController(in

Re: LyX on Mac with Qt-4

2006-03-11 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Found nothing... But a bit of googling tells me Abdelrazak> . The question is again why do Abdelrazak> we need to include that for Mac and not for other Abdelrazak> platform? Yes, this is the one you need. What happen

Re: LyX on Mac with Qt-4

2006-03-11 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : Bennett Helm a écrit : Dialogs.C:275: error: expected type-specifier before 'ControlRef' Dialogs.C:275: error: expected `)' before 'ControlRef' Dialogs.C:275: error: no matching function for call to 'lyx::frontend::Dialog::setController(int*)' ../../../src/frontends/

Re: LyX on Mac with Qt-4

2006-03-10 Thread Abdelrazak Younes
Angus Leeming a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: Dialogs.C:275: error: expected type-specifier before 'ControlRef' Dialogs.C:275: error: expected `)' before 'ControlRef' Dialogs.C:275: error: no matching function for call to 'lyx::frontend::Dialog::setController(int*)' ../.

Re: LyX on Mac with Qt-4

2006-03-10 Thread Angus Leeming
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > > Dialogs.C:275: error: expected type-specifier before 'ControlRef' > > Dialogs.C:275: error: expected `)' before 'ControlRef' > > Dialogs.C:275: error: no matching function for call to > > 'lyx::frontend::Dialog::setController(int*)' > > ../../../sr

Re: LyX on Mac with Qt-4

2006-03-10 Thread Abdelrazak Younes
Bennett Helm a écrit : On Mar 10, 2006, at 12:27 PM, Bennett Helm wrote: OK -- that solves that problem. Now another: ... Perhaps this will be more efficient: here is the result of make -k from within the qt4 directory. Indeed, thanks! Answers in line. Dialogs.C:275: error: expected ty

Re: LyX on Mac with Qt-4

2006-03-10 Thread Bennett Helm
On Mar 10, 2006, at 12:27 PM, Bennett Helm wrote: OK -- that solves that problem. Now another: ... Perhaps this will be more efficient: here is the result of make -k from within the qt4 directory. Bennett 12:30:32 | bennett:~/lyx/gcc-4.0/lyx-devel-qt4/src/frontends/qt4> m

Re: LyX on Mac with Qt-4

2006-03-10 Thread Bennett Helm
On Mar 10, 2006, at 12:02 PM, Abdelrazak Younes wrote: Abdelrazak Younes a écrit : Bennett Helm a écrit : +#ifdef Q_WS_MACX Oups, I missed that one. New patch attached. ... OK -- that solves that problem. Now another: Making all in moc make all-am make[3]: Nothing to be done for `all-am'

Re: LyX on Mac with Qt-4

2006-03-10 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : Bennett Helm a écrit : +#ifdef Q_WS_MACX Oups, I missed that one. New patch attached. Abdel. Index: D:/msys/home/yns/src/lyx-svn/trunk/src/frontends/qt4/QLMenubar.h === --- D:/msys/home/yns/src/lyx-svn

Re: LyX on Mac with Qt-4

2006-03-10 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Bennett Helm a écrit : >> On Mar 10, 2006, at 10:44 AM, Abdelrazak Younes wrote: Hmmm >> Doesn't seem to do anything, and I wonder if the #ifdef Q_WS_MACX >> is working properly: when I comment out the #ifdef and #

Re: LyX on Mac with Qt-4

2006-03-10 Thread Abdelrazak Younes
Lars Gullik Bjønnes a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > Wh is the ifdef needed? Does something bad happens if it is left out? | | No it's just that the include is not needed otherwise. I thought that it | was a general rule for LyX code but if you don't mind, I prefer t

Re: LyX on Mac with Qt-4

2006-03-10 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Why is menubar_ needed on mac and not otherwise? Because the menubar is global and can be accessed while a dialog is open. Therefore we have to do things to disable actions that do not make sense (and reading the Qt doc made me

Re: LyX on Mac with Qt-4

2006-03-10 Thread Abdelrazak Younes
Bennett Helm a écrit : On Mar 10, 2006, at 10:44 AM, Abdelrazak Younes wrote: Hmmm Doesn't seem to do anything, and I wonder if the #ifdef Q_WS_MACX is working properly: when I comment out the #ifdef and #endif lines (which shouldn't matter for me, right?), I no longer get the "'boost' ha

Re: LyX on Mac with Qt-4

2006-03-10 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes a écrit : | > Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > | Index: | > D:/msys/home/yns/src/lyx-svn/trunk/src/frontends/qt4/QLMenubar.h | > | === | > | --- D:/m

Re: LyX on Mac with Qt-4

2006-03-10 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> No it's just that the include is not needed otherwise. I Abdelrazak> thought that it was a general rule for LyX code but if you Abdelrazak> don't mind, I prefer to remove them... I am not really Abdelrazak> fond of #if

Re: LyX on Mac with Qt-4

2006-03-10 Thread Abdelrazak Younes
Lars Gullik Bjønnes a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Index: D:/msys/home/yns/src/lyx-svn/trunk/src/frontends/qt4/QLMenubar.h | === | --- D:/msys/home/yns/src/lyx-svn/trunk/src/frontends/qt4/QLMenubar.h (re

Re: LyX on Mac with Qt-4

2006-03-10 Thread Bennett Helm
On Mar 10, 2006, at 10:44 AM, Abdelrazak Younes wrote: Abdelrazak Younes a écrit : Bennett Helm a écrit : This should solve your problem until the makefile is fixed. Thanks, Abdel. I now run into a new problem; any new suggestions? try to include scoped_ptr at the top of QLMenubar.h: #incl

Re: LyX on Mac with Qt-4

2006-03-10 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Index: D:/msys/home/yns/src/lyx-svn/trunk/src/frontends/qt4/QLMenubar.h | === | --- D:/msys/home/yns/src/lyx-svn/trunk/src/frontends/qt4/QLMenubar.h (revision 13312) | +++ D:/msys/home

Re: LyX on Mac with Qt-4

2006-03-10 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : Bennett Helm a écrit : This should solve your problem until the makefile is fixed. Thanks, Abdel. I now run into a new problem; any new suggestions? try to include scoped_ptr at the top of QLMenubar.h: #include The attached patch will do so. Abdel. Index: D

Re: LyX on Mac with Qt-4

2006-03-10 Thread Abdelrazak Younes
Bennett Helm a écrit : This should solve your problem until the makefile is fixed. Thanks, Abdel. I now run into a new problem; any new suggestions? try to include scoped_ptr at the top of QLMenubar.h: #include Abdel. Making all in moc make all-am if /bin/sh ../../../../libtool --tag

Re: LyX on Mac with Qt-4

2006-03-10 Thread Bennett Helm
On Mar 7, 2006, at 4:51 PM, Abdelrazak Younes wrote: Bennett Helm a écrit : I'm trying to see if I can build a universal binary of LyX (for both intel and powerpc macs), which seems to require Qt-4, so I thought I'd try out the qt4 frontend. When I do so, however, I get the following error

Re: LyX on Mac with Qt-4

2006-03-07 Thread Abdelrazak Younes
Bennett Helm a écrit : I'm trying to see if I can build a universal binary of LyX (for both intel and powerpc macs), which seems to require Qt-4, so I thought I'd try out the qt4 frontend. When I do so, however, I get the following error: Making all in qt4 make all-recursive Making all in ui

LyX on Mac with Qt-4

2006-03-07 Thread Bennett Helm
I'm trying to see if I can build a universal binary of LyX (for both intel and powerpc macs), which seems to require Qt-4, so I thought I'd try out the qt4 frontend. When I do so, however, I get the following error: Making all in qt4 make all-recursive Making all in ui make[7]: *** No rule