I've succeeded in compiling the Trolltech MacOSX (GPL) Qt libraries
with gcc-2.95.2, but something in their header files gags the LyX-1.3.2
compile with the same compiler.

In file included from /usr/local/src/qt-mac-free-3.1.2/include/qfont.h:42,
                 from Qt2Base.h:22,
                 from QAbout.h:19,
                 from Dialogs_impl.h:54,
                 from Dialogs.C:19:
/usr/local/src/qt-mac-free-3.1.2/include/qwindowdefs.h:104: conflicting types for 
`typedef struct OpaqueControlRef * ControlRef'
../../../src/frontends/controllers/ControlRef.h:43: previous declaration as `class 
../../../src/frontends/controllers/GUI.h: In method `GUI<OpaqueControlRef 
*,QRef,NoRepeatedApplyReadOnlyPolicy,Qt2BC>::GUI(LyXView &, Dialogs &)':
Dialogs.C:82:   instantiated from here
../../../src/frontends/controllers/GUI.h:44: warning: initializer list treated as 
compound expression
../../../src/frontends/controllers/GUI.h:44: invalid use of undefined type `class 
../../../src/frontends/Dialogs.h:25: forward declaration of `class LyXView'
../../../src/frontends/controllers/GUI.h:47: request for member `setView' in 
`GUI<OpaqueControlRef *,QRef,NoRepeatedApplyReadOnlyPolicy,Qt2BC>::controller_', which 
is of non-aggregate type `OpaqueControlRef *'
../../../src/frontends/controllers/GUI.h:48: request for member `setButtonController' 
in `GUI<OpaqueControlRef *,QRef,NoRepeatedApplyReadOnlyPolicy,Qt2BC>::controller_', 
which is of non-aggregate type `OpaqueControlRef *'
../../../src/frontends/controllers/GUI.h:49: no matching function for call to 
`QRef::setController (OpaqueControlRef *&)'
../../../src/frontends/controllers/ViewBase.h:53: candidates are: void 
ViewBase::setController(ControlButtons &)
make[5]: *** [Dialogs.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

I'll be glad to supply additional information if anyone could suggest
a workaround to this glitch.  Thanks,

Ronald Florence                         www.18james.com

Reply via email to