John == John Levon [EMAIL PROTECTED] writes:
John On Fri, Jul 09, 2004 at 07:43:37PM +0200, Georg Baum wrote:
^^^ this is the reason, because almost everything in
qtranslator.h is inside #ifndef QT_NO_TRANSLATION ... #endif
Ahhh, thanks for noticing it! It was just there in front of my
> "John" == John Levon <[EMAIL PROTECTED]> writes:
John> On Fri, Jul 09, 2004 at 07:43:37PM +0200, Georg Baum wrote:
>> ^^^ this is the reason, because almost everything in
>> qtranslator.h is inside #ifndef QT_NO_TRANSLATION ... #endif
Ahhh, thanks for noticing it! It was just there in
On Fri, Jul 09, 2004 at 04:14:25PM +0200, Jean-Marc Lasgouttes wrote:
Angus lyx_gui.C is currently defined in Makefile.am: Makefile.am:
Angus lyx_gui.C
Angus You need to move it to the MOCFILES target of Makefile.dialogs.
I added it to MOCFILES and now I get (after much automake running):
On Fri, Jul 09, 2004 at 07:43:37PM +0200, Georg Baum wrote:
^^^ this is the reason, because almost everything in qtranslator.h is
inside #ifndef QT_NO_TRANSLATION ... #endif
Unfortunately I cannot remember why we turn it off :(
If something with moc is going wrong, it shows up at link
On Fri, Jul 09, 2004 at 04:14:25PM +0200, Jean-Marc Lasgouttes wrote:
> Angus> lyx_gui.C is currently defined in Makefile.am: Makefile.am:
> Angus> lyx_gui.C
>
> Angus> You need to move it to the MOCFILES target of Makefile.dialogs.
>
> I added it to MOCFILES and now I get (after much automake
On Fri, Jul 09, 2004 at 07:43:37PM +0200, Georg Baum wrote:
> ^^^ this is the reason, because almost everything in qtranslator.h is
> inside #ifndef QT_NO_TRANSLATION ... #endif
Unfortunately I cannot remember why we turn it off :(
> If something with moc is going wrong, it shows up at
Bennett == Bennett Helm [EMAIL PROTECTED] writes:
Bennett On Jul 8, 2004, at 9:55 AM, Jean-Marc Lasgouttes wrote:
Bennett However, LyX Preferences is still greyed out, and once
Bennett again I can't find a way to access it from the menu.
And is LyX About LyX present (and does it work)? I am
Jean-Marc Lasgouttes wrote:
How come that QTranslator is an incomplete type although I did
include qtranslator.h? Do I need to use moc or another cryptic
tool? How do I do that?
H. Looking at the header file in question:
class Q_EXPORT QTranslator: public QObject
{
Q_OBJECT
Angus == Angus Leeming [EMAIL PROTECTED] writes:
Angus This does indeed need to be passed through moc. Q_EXPORT and
Angus Q_OBJECT are moc macros.
Angus lyx_gui.C is currently defined in Makefile.am: Makefile.am:
Angus lyx_gui.C
Angus You need to move it to the MOCFILES target of
Jean-Marc Lasgouttes wrote:
Angus == Angus Leeming [EMAIL PROTECTED]
writes:
Angus This does indeed need to be passed through moc. Q_EXPORT and
Angus Q_OBJECT are moc macros.
Angus lyx_gui.C is currently defined in Makefile.am: Makefile.am:
Angus lyx_gui.C
Angus You need to move it
Angus == Angus Leeming [EMAIL PROTECTED] writes:
Angus moc is a preprocessor. It is used to generate a .C file,
Angus substituting all those nasty Q_FOO macros for c++ code. The c++
Angus compiler gets to compile this generated .C file.
Indeed. However, we have a rule like
%_moc.C:
Am Freitag, 9. Juli 2004 15:19 schrieb Jean-Marc Lasgouttes:
The big problem with this patch is that it does not build, and I do
not know why. After changing the two new #ifdef in lyx_gui.C to
#ifndef, compilation yields:
g++ -DHAVE_CONFIG_H -I. -I../../../../lyx-devel/src/frontends/qt2
How does it work? It is easy: for 1/, we make sure that dummy menu
entries are added at the beginning of each menu containing the
About/Preferences/Quit entries. They are then 'stolen' by Qt/Mac and
go to the LyX menu/ I suspect that the current code does not work in
all cases, but we'll see this
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:
Bennett> On Jul 8, 2004, at 9:55 AM, Jean-Marc Lasgouttes wrote:
Bennett> However, "LyX > Preferences" is still greyed out, and once
Bennett> again I can't find a way to access it from the menu.
>> And is "LyX >About LyX" present (and
Jean-Marc Lasgouttes wrote:
> How come that QTranslator is an incomplete type although I did
> include ? Do I need to use moc or another cryptic
> tool? How do I do that?
H. Looking at the header file in question:
class Q_EXPORT QTranslator: public QObject
{
Q_OBJECT
public:
This
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> This does indeed need to be passed through moc. Q_EXPORT and
Angus> Q_OBJECT are moc macros.
Angus> lyx_gui.C is currently defined in Makefile.am: Makefile.am:
Angus> lyx_gui.C
Angus> You need to move it to the MOCFILES target of
Jean-Marc Lasgouttes wrote:
>> "Angus" == Angus Leeming <[EMAIL PROTECTED]>
>> writes:
>
> Angus> This does indeed need to be passed through moc. Q_EXPORT and
> Angus> Q_OBJECT are moc macros.
>
> Angus> lyx_gui.C is currently defined in Makefile.am: Makefile.am:
> Angus> lyx_gui.C
>
>
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> moc is a preprocessor. It is used to generate a .C file,
Angus> substituting all those nasty Q_FOO macros for c++ code. The c++
Angus> compiler gets to compile this generated .C file.
Indeed. However, we have a rule like
%_moc.C:
Am Freitag, 9. Juli 2004 15:19 schrieb Jean-Marc Lasgouttes:
> The big problem with this patch is that it does not build, and I do
> not know why. After changing the two new #ifdef in lyx_gui.C to
> #ifndef, compilation yields:
>
> g++ -DHAVE_CONFIG_H -I.
How does it work? It is easy: for 1/, we make sure that dummy menu
entries are added at the beginning of each menu containing the
About/Preferences/Quit entries. They are then 'stolen' by Qt/Mac and
go to the LyX menu/ I suspect that the current code does not work in
all cases, but we'll see this
Bennett == Bennett Helm [EMAIL PROTECTED] writes:
The following patch is a first attempt at fixing menu merging
problems in LyX/Mac. It requires to at least Qt/Mac 3.2.2 (the
undocumented function we use appeared at this time).
I would appreciate heavy testing of this (I think that it
On Jul 8, 2004, at 6:30 AM, Jean-Marc Lasgouttes wrote:
Bennett 1. In the LyX menu, what formally had been Preferences (but
Bennett really was the Document Settings dialog) is now permanently
Bennett greyed-out, so I can't access it.
Does it make a difference when you try to open a menu before the
Bennett == Bennett Helm [EMAIL PROTECTED] writes:
Bennett (I take it you intended me to reverse the first patch before
Bennett applying this, right?)
Yes.
Bennett Edit Text Styles is back, as is Tools Spelling and
Bennett Tools TeX Information.
Bennett Also, there's now a Document
On Jul 8, 2004, at 9:55 AM, Jean-Marc Lasgouttes wrote:
Bennett However, LyX Preferences is still greyed out, and once
Bennett again I can't find a way to access it from the menu.
And is LyX About LyX present (and does it work)? I am wondering
whether Qt/Mac really sees our entries.
There is no
Bennett == Bennett Helm [EMAIL PROTECTED] writes:
Bennett On Jul 8, 2004, at 9:55 AM, Jean-Marc Lasgouttes wrote:
Bennett However, LyX Preferences is still greyed out, and once
Bennett again I can't find a way to access it from the menu.
And is LyX About LyX present (and does it work)? I am
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:
>> The following patch is a first attempt at fixing menu merging
>> problems in LyX/Mac. It requires to at least Qt/Mac 3.2.2 (the
>> undocumented function we use appeared at this time).
>>
>> I would appreciate heavy testing of this (I
On Jul 8, 2004, at 6:30 AM, Jean-Marc Lasgouttes wrote:
Bennett> 1. In the LyX menu, what formally had been "Preferences" (but
Bennett> really was the Document Settings dialog) is now permanently
Bennett> greyed-out, so I can't access it.
Does it make a difference when you try to open a menu
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:
Bennett> (I take it you intended me to reverse the first patch before
Bennett> applying this, right?)
Yes.
Bennett> "Edit > Text Styles" is back, as is "Tools > Spelling" and
Bennett> "Tools > TeX Information".
Bennett> Also, there's
On Jul 8, 2004, at 9:55 AM, Jean-Marc Lasgouttes wrote:
Bennett> However, "LyX > Preferences" is still greyed out, and once
Bennett> again I can't find a way to access it from the menu.
And is "LyX >About LyX" present (and does it work)? I am wondering
whether Qt/Mac really sees our entries.
There
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:
Bennett> On Jul 8, 2004, at 9:55 AM, Jean-Marc Lasgouttes wrote:
Bennett> However, "LyX > Preferences" is still greyed out, and once
Bennett> again I can't find a way to access it from the menu.
>> And is "LyX >About LyX" present (and
The following patch is a first attempt at fixing menu merging problems
in LyX/Mac. It requires to at least Qt/Mac 3.2.2 (the undocumented
function we use appeared at this time).
I would appreciate heavy testing of this (I think that it compiles,
but cannot go further). Bennett, Nirmal, that
The following patch is a first attempt at fixing menu merging problems
in LyX/Mac. It requires to at least Qt/Mac 3.2.2 (the undocumented
function we use appeared at this time).
I would appreciate heavy testing of this (I think that it compiles,
but cannot go further).
Well, it almost compiles!
The following patch is a first attempt at fixing menu merging problems
in LyX/Mac. It requires to at least Qt/Mac 3.2.2 (the undocumented
function we use appeared at this time).
I would appreciate heavy testing of this (I think that it compiles,
but cannot go further). Bennett, Nirmal, that
The following patch is a first attempt at fixing menu merging problems
in LyX/Mac. It requires to at least Qt/Mac 3.2.2 (the undocumented
function we use appeared at this time).
I would appreciate heavy testing of this (I think that it compiles,
but cannot go further).
Well, it almost compiles!
34 matches
Mail list logo