On Jun 5, 2006, at 12:45 PM, Georg Baum wrote:

I could not get the Qt4 frontend to compile:

In file included from Dialogs.C:54:
QCitation.h:87:2: warning: "/*" within comment
Dialogs.C: In member function
'boost::shared_ptr<lyx::frontend::Dialog> Dialogs::build(const
std::string&)':
Dialogs.C:281: error: reference to 'ControlRef' is ambiguous
/Users/bennett/lyx/gcc-4.0/qt-mac-opensource-src-4.1.3-universal///
include/QtGui/../../src/gui/kernel/qwindowdefs.h:85: error:
candidates are: typedef struct OpaqueControlRef* ControlRef

This is in qt 1.4.2 too, but it seems that qwindowdefs.h is not included
here.

Does the attached patch resolve the compile problem?

As I indicated previously, it does. As with Qt-3, I no longer get crashes on quit with the Qt-4 version. (Though, of course, I have the same lyx2lyx problem, limiting testing.)

Bennett

Reply via email to