Bennett Helm 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
Ouch... Looks like we have a clash here. Is that something new since you
upgraded to 4.1.3 or did you manage to compile with it before?
Abdel.
../../../src/frontends/controllers/ControlRef.h:24:
error: class lyx::frontend::ControlRef
Dialogs.C:281: error: expected type-specifier before 'ControlRef'
Dialogs.C:281: error: expected `)' before 'ControlRef'
Dialogs.C:281: error: no matching function for call to
'lyx::frontend::Dialog::setController(int*)'
../../../src/frontends/controllers/Dialog.h:105: note: candidates are:
void
lyx::frontend::Dialog::setController(lyx::frontend::Dialog::Controller*)
Bennett