Georg Baum wrote:

This looks like check is #defined somewhere. Could you please do a svn update and then apply the attached patch? Does it then work?


Georg



O.K., next up...



make[8]: Nothing to be done for `all-am'.
if /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -Winvalid-pch --include=./pch.h -I../../../src -I../../../src/frontends -I../../../images -I/usr/local/Trolltech/Qt-4.2.0/include/QtCore -I/usr/local/Trolltech/Qt-4.2.0/include/QtGui -I../../../boost -I../../../src/frontends/controllers -Wextra -Wall -g -Os -MT Alert_pimpl.lo -MD -MP -MF ".deps/Alert_pimpl.Tpo" -c -o Alert_pimpl.lo Alert_pimpl.C; \ then mv -f ".deps/Alert_pimpl.Tpo" ".deps/Alert_pimpl.Plo"; else rm -f ".deps/Alert_pimpl.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -Winvalid-pch --include=./pch.h -I../../../src -I../../../src/frontends -I../../../images -I/usr/local/Trolltech/Qt-4.2.0/include/QtCore -I/usr/local/Trolltech/Qt-4.2.0/include/QtGui -I../../../boost -I../../../src/frontends/controllers -Wextra -Wall -g -Os -MT Alert_pimpl.lo -MD -MP -MF .deps/Alert_pimpl.Tpo -c Alert_pimpl.C -o Alert_pimpl.o
In file included from Alert_pimpl.C:17:
ui/QAskForTextUi.h:13:27: error: QtCore/QVariant: No such file or directory
ui/QAskForTextUi.h:14:25: error: QtGui/QAction: No such file or directory
ui/QAskForTextUi.h:15:30: error: QtGui/QApplication: No such file or directory ui/QAskForTextUi.h:16:30: error: QtGui/QButtonGroup: No such file or directory
ui/QAskForTextUi.h:17:25: error: QtGui/QDialog: No such file or directory
ui/QAskForTextUi.h:18:29: error: QtGui/QHBoxLayout: No such file or directory
ui/QAskForTextUi.h:19:24: error: QtGui/QLabel: No such file or directory
ui/QAskForTextUi.h:20:27: error: QtGui/QLineEdit: No such file or directory
ui/QAskForTextUi.h:21:29: error: QtGui/QPushButton: No such file or directory ui/QAskForTextUi.h:22:29: error: QtGui/QSpacerItem: No such file or directory ui/QAskForTextUi.h:23:29: error: QtGui/QVBoxLayout: No such file or directory
In file included from /usr/local/Trolltech/Qt-4.2.0/include/QtCore/QChar:1,
                 from qt_helpers.h:22,
                 from Alert_pimpl.C:18:
/usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:27:28: error: QtCore/qglobal.h: No such file or directory In file included from /usr/local/Trolltech/Qt-4.2.0/include/QtGui/QApplication:1,
                 from Alert_pimpl.C:22:
/usr/local/Trolltech/Qt-4.2.0/include/QtGui/qapplication.h:27:37: error: QtCore/qcoreapplication.h: No such file or directory /usr/local/Trolltech/Qt-4.2.0/include/QtGui/qapplication.h:28:31: error: QtGui/qwindowdefs.h: No such file or directory /usr/local/Trolltech/Qt-4.2.0/include/QtGui/qapplication.h:29:27: error: QtCore/qpoint.h: No such file or directory /usr/local/Trolltech/Qt-4.2.0/include/QtGui/qapplication.h:30:26: error: QtCore/qsize.h: No such file or directory /usr/local/Trolltech/Qt-4.2.0/include/QtGui/qapplication.h:31:27: error: QtGui/qcursor.h: No such file or directory In file included from /usr/local/Trolltech/Qt-4.2.0/include/QtGui/QMessageBox:1, from Alert_pimpl.C:23: /usr/local/Trolltech/Qt-4.2.0/include/QtGui/qmessagebox.h:27:27: error: QtGui/qdialog.h: No such file or directory
In file included from /usr/local/Trolltech/Qt-4.2.0/include/QtGui/QLabel:1,
                 from Alert_pimpl.C:24:
/usr/local/Trolltech/Qt-4.2.0/include/QtGui/qlabel.h:27:26: error: QtGui/qframe.h: No such file or directory In file included from /usr/local/Trolltech/Qt-4.2.0/include/QtGui/QLineEdit:1,
                 from Alert_pimpl.C:25:
/usr/local/Trolltech/Qt-4.2.0/include/QtGui/qlineedit.h:28:28: error: QtCore/qstring.h: No such file or directory
In file included from /usr/local/Trolltech/Qt-4.2.0/include/QtGui/QDialog:1,
                 from Alert_pimpl.C:26:
/usr/local/Trolltech/Qt-4.2.0/include/QtGui/qdialog.h:27:27: error: QtGui/qwidget.h: No such file or directory In file included from /usr/local/Trolltech/Qt-4.2.0/include/QtGui/QInputDialog:1,
                 from Alert_pimpl.C:27:
/usr/local/Trolltech/Qt-4.2.0/include/QtGui/qinputdialog.h:29:29: error: QtGui/qlineedit.h: No such file or directory ui/QAskForTextUi.h:28: error: ISO C++ forbids declaration of 'QVBoxLayout' with no type
ui/QAskForTextUi.h:28: error: expected ';' before '*' token
ui/QAskForTextUi.h:29: error: ISO C++ forbids declaration of 'QSpacerItem' with no type
ui/QAskForTextUi.h:29: error: expected ';' before '*' token
ui/QAskForTextUi.h:30: error: ISO C++ forbids declaration of 'QLabel' with no type
ui/QAskForTextUi.h:30: error: expected ';' before '*' token
ui/QAskForTextUi.h:31: error: ISO C++ forbids declaration of 'QLineEdit' with no type
ui/QAskForTextUi.h:31: error: expected ';' before '*' token
ui/QAskForTextUi.h:32: error: ISO C++ forbids declaration of 'QSpacerItem' with no type
ui/QAskForTextUi.h:32: error: expected ';' before '*' token
ui/QAskForTextUi.h:33: error: ISO C++ forbids declaration of 'QHBoxLayout' with no type
ui/QAskForTextUi.h:33: error: expected ';' before '*' token
ui/QAskForTextUi.h:34: error: ISO C++ forbids declaration of 'QPushButton' with no type
ui/QAskForTextUi.h:34: error: expected ';' before '*' token
ui/QAskForTextUi.h:35: error: ISO C++ forbids declaration of 'QPushButton' with no type
ui/QAskForTextUi.h:35: error: expected ';' before '*' token
ui/QAskForTextUi.h:37: error: 'QDialog' has not been declared
ui/QAskForTextUi.h:94: error: 'QDialog' has not been declared
ui/QAskForTextUi.h: In member function 'void Ui_QAskForTextUi::setupUi(int*)': ui/QAskForTextUi.h:39: error: request for member 'setObjectName' in '* QAskForTextUi', which is of non-class type 'int'
ui/QAskForTextUi.h:39: error: 'QString' has not been declared
ui/QAskForTextUi.h:39: error: 'fromUtf8' was not declared in this scope
ui/QAskForTextUi.h:40: error: request for member 'setSizeGripEnabled' in '* QAskForTextUi', which is of non-class type 'int'
ui/QAskForTextUi.h:41: error: 'vboxLayout' was not declared in this scope
ui/QAskForTextUi.h:41: error: expected type-specifier before 'QVBoxLayout'
ui/QAskForTextUi.h:41: error: expected `;' before 'QVBoxLayout'
ui/QAskForTextUi.h:44: error: 'QString' has not been declared
ui/QAskForTextUi.h:45: error: 'spacerItem' was not declared in this scope
ui/QAskForTextUi.h:45: error: expected type-specifier before 'QSpacerItem'
ui/QAskForTextUi.h:45: error: expected `;' before 'QSpacerItem'
ui/QAskForTextUi.h:49: error: 'askLA' was not declared in this scope
ui/QAskForTextUi.h:49: error: expected type-specifier before 'QLabel'
ui/QAskForTextUi.h:49: error: expected `;' before 'QLabel'
ui/QAskForTextUi.h:50: error: 'QString' has not been declared
ui/QAskForTextUi.h:54: error: 'askLE' was not declared in this scope
ui/QAskForTextUi.h:54: error: expected type-specifier before 'QLineEdit'
ui/QAskForTextUi.h:54: error: expected `;' before 'QLineEdit'
ui/QAskForTextUi.h:55: error: 'QString' has not been declared
ui/QAskForTextUi.h:59: error: 'spacerItem1' was not declared in this scope
ui/QAskForTextUi.h:59: error: expected type-specifier before 'QSpacerItem'
ui/QAskForTextUi.h:59: error: expected `;' before 'QSpacerItem'
ui/QAskForTextUi.h:63: error: 'hboxLayout' was not declared in this scope
ui/QAskForTextUi.h:63: error: expected type-specifier before 'QHBoxLayout'
ui/QAskForTextUi.h:63: error: expected `;' before 'QHBoxLayout'
ui/QAskForTextUi.h:66: error: 'QString' has not been declared
ui/QAskForTextUi.h:67: error: 'okPB' was not declared in this scope
ui/QAskForTextUi.h:67: error: expected type-specifier before 'QPushButton'
ui/QAskForTextUi.h:67: error: expected `;' before 'QPushButton'
ui/QAskForTextUi.h:68: error: 'QString' has not been declared
ui/QAskForTextUi.h:73: error: 'closePB' was not declared in this scope
ui/QAskForTextUi.h:73: error: expected type-specifier before 'QPushButton'
ui/QAskForTextUi.h:73: error: expected `;' before 'QPushButton'
ui/QAskForTextUi.h:74: error: 'QString' has not been declared
ui/QAskForTextUi.h:86: error: 'QSize' was not declared in this scope
ui/QAskForTextUi.h:86: error: expected `;' before 'size'
ui/QAskForTextUi.h:87: error: 'size' was not declared in this scope
ui/QAskForTextUi.h:87: error: request for member 'minimumSizeHint' in '* QAskForTextUi', which is of non-class type 'int' ui/QAskForTextUi.h:88: error: request for member 'resize' in '* QAskForTextUi', which is of non-class type 'int'
ui/QAskForTextUi.h:91: error: 'QMetaObject' has not been declared
ui/QAskForTextUi.h:91: error: 'connectSlotsByName' was not declared in this scope ui/QAskForTextUi.h: In member function 'void Ui_QAskForTextUi::retranslateUi(int*)': ui/QAskForTextUi.h:96: error: request for member 'setWindowTitle' in '* QAskForTextUi', which is of non-class type 'int'
ui/QAskForTextUi.h:96: error: 'QApplication' has not been declared
ui/QAskForTextUi.h:96: error: 'QApplication' has not been declared
ui/QAskForTextUi.h:96: error: 'UnicodeUTF8' was not declared in this scope
ui/QAskForTextUi.h:96: error: 'translate' was not declared in this scope
ui/QAskForTextUi.h:97: error: 'askLA' was not declared in this scope
ui/QAskForTextUi.h:97: error: 'QApplication' has not been declared
ui/QAskForTextUi.h:97: error: 'QApplication' has not been declared
ui/QAskForTextUi.h:98: error: 'okPB' was not declared in this scope
ui/QAskForTextUi.h:98: error: 'QApplication' has not been declared
ui/QAskForTextUi.h:98: error: 'QApplication' has not been declared
ui/QAskForTextUi.h:99: error: 'closePB' was not declared in this scope
ui/QAskForTextUi.h:99: error: 'QApplication' has not been declared
ui/QAskForTextUi.h:99: error: 'QApplication' has not been declared
ui/QAskForTextUi.h:100: error: 'Q_UNUSED' was not declared in this scope
/usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h: At global scope:
/usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:29: error: 'QT_BEGIN_HEADER' does not name a type /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h: In member function 'const ushort QLatin1Char::unicode() const': /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:40: error: 'uchar' was not declared in this scope
/usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h: At global scope:
/usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:47: error: invalid function declaration /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:264: error: expected constructor, destructor, or type conversion before ';' token /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:266: error: expected constructor, destructor, or type conversion before '(' token /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:268: error: 'QChar' has not been declared /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:268: error: ISO C++ forbids declaration of 'QChar' with no type /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h: In function 'int QChar()':/usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:268: error: only constructors take base initializers /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:268: warning: no return statement in function returning non-void
/usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h: At global scope:
/usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:270: error: 'QChar' is not a class or namespace /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:270: error: non-member function 'const char toLatin1()' cannot have cv-qualifier /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h: In function 'const char toLatin1()': /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:270: error: 'ucs' was not declared in this scope
/usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h: At global scope:
/usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:271: error: 'QChar' does not name a type /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:273: error: 'QChar' is not a class or namespace /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:273: error: ISO C++ forbids declaration of 'QChar' with no type /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:273: error: 'QChar' declared as an 'inline' variable /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:273: error: 'int QChar' redeclared as different kind of symbol /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:268: error: previous declaration of 'int QChar()' /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:273: error: 'uchar' was not declared in this scope /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:273: error: 'uchar' was not declared in this scope /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:274: error: 'QChar' is not a class or namespace /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:274: error: ISO C++ forbids declaration of 'QChar' with no type /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h: In function 'int QChar(short int)': /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:274: error: only constructors take base initializers /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:274: warning: no return statement in function returning non-void
/usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h: At global scope:
/usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:275: error: 'QChar' is not a class or namespace /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:275: error: ISO C++ forbids declaration of 'QChar' with no type /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h: In function 'int QChar(uint)': /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:275: error: only constructors take base initializers /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:275: warning: no return statement in function returning non-void
/usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h: At global scope:
/usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:276: error: 'QChar' is not a class or namespace /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:276: error: ISO C++ forbids declaration of 'QChar' with no type /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h: In function 'int QChar(int)': /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:276: error: only constructors take base initializers /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:276: warning: no return statement in function returning non-void
/usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h: At global scope:
/usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:277: error: 'QChar' is not a class or namespace /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:277: error: ISO C++ forbids declaration of 'QChar' with no type /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:277: error: 'QChar' declared as an 'inline' variable /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:277: error: 'int QChar' redeclared as different kind of symbol /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:276: error: previous declaration of 'int QChar(int)' /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:277: error: 'SpecialCharacter' was not declared in this scope /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:278: error: 'QChar' is not a class or namespace /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:278: error: ISO C++ forbids declaration of 'QChar' with no type /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h: In function 'int QChar(QLatin1Char)': /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:278: error: only constructors take base initializers /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:278: warning: no return statement in function returning non-void
/usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h: At global scope:
/usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:280: error: 'QChar' is not a class or namespace /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:280: error: variable or field 'setCell' declared void /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:280: error: 'setCell' declared as an 'inline' variable /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:280: error: 'uchar' was not declared in this scope /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:281: error: expected ',' or ';' before '{' token /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:282: error: 'QChar' is not a class or namespace /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:282: error: variable or field 'setRow' declared void /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:282: error: 'setRow' declared as an 'inline' variable /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:282: error: 'uchar' was not declared in this scope /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:283: error: expected ',' or ';' before '{' token /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:285: error: declaration of 'operator==' as non-function /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:285: error: expected `)' before 'c1' /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:285: error: expected `)' before 'c2' /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:286: error: declaration of 'operator!=' as non-function /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:286: error: expected `)' before 'c1' /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:286: error: expected `)' before 'c2' /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:287: error: declaration of 'operator<=' as non-function /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:287: error: expected `)' before 'c1' /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:287: error: expected `)' before 'c2' /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:288: error: declaration of 'operator>=' as non-function /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:288: error: expected `)' before 'c1' /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:288: error: expected `)' before 'c2' /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:289: error: declaration of 'operator<' as non-function /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:289: error: expected `)' before 'c1' /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:289: error: expected `)' before 'c2' /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:290: error: declaration of 'operator>' as non-function /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:290: error: expected `)' before 'c1' /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:290: error: expected `)' before 'c2' /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:293: error: expected initializer before '&' token /usr/local/Trolltech/Qt-4.2.0/include/QtCore/qchar.h:294: error: expected initializer before '&' token qt_helpers.h:26: error: expected constructor, destructor, or type conversion before 'class'
qt_helpers.h:36: error: 'LengthCombo' has not been declared
qt_helpers.h:41: error: 'LengthCombo' has not been declared
qt_helpers.h:78: error: 'qchar_to_ucs4' declared as an 'inline' variable
qt_helpers.h:78: error: expected `)' before 'const'
qt_helpers.h:78: error: cannot resolve overloaded function 'QChar' based on conversion to type 'const lyx::char_type'
qt_helpers.h:78: error: expected ',' or ';' before '{' token
qt_helpers.h:82: error: expected initializer before 'const'
/usr/local/Trolltech/Qt-4.2.0/include/QtGui/qapplication.h:44: error: 'QT_BEGIN_HEADER' does not name a type /usr/local/Trolltech/Qt-4.2.0/include/QtGui/qapplication.h:64: error: invalid function declaration /usr/local/Trolltech/Qt-4.2.0/include/QtGui/qapplication.h:336: error: 'QT_END_HEADER' does not name a type /usr/local/Trolltech/Qt-4.2.0/include/QtGui/qmessagebox.h:39: error: invalid function declaration /usr/local/Trolltech/Qt-4.2.0/include/QtGui/qmessagebox.h:303: error: 'QMessageBox' has not been declared /usr/local/Trolltech/Qt-4.2.0/include/QtGui/qmessagebox.h:303: error: expected constructor, destructor, or type conversion before '(' token /usr/local/Trolltech/Qt-4.2.0/include/QtGui/qlabel.h:35: error: invalid function declaration /usr/local/Trolltech/Qt-4.2.0/include/QtGui/qlabel.h:150: error: 'QT_END_HEADER' does not name a type /usr/local/Trolltech/Qt-4.2.0/include/QtGui/qlineedit.h:41: error: invalid function declaration /usr/local/Trolltech/Qt-4.2.0/include/QtGui/qlineedit.h:246: error: 'QT_END_HEADER' does not name a type /usr/local/Trolltech/Qt-4.2.0/include/QtGui/qdialog.h:36: error: invalid function declaration /usr/local/Trolltech/Qt-4.2.0/include/QtGui/qdialog.h:106: error: 'QT_END_HEADER' does not name a type /usr/local/Trolltech/Qt-4.2.0/include/QtGui/qinputdialog.h:41: error: invalid function declaration Alert_pimpl.C:31: error: expected constructor, destructor, or type conversion before 'using' Alert_pimpl.C: In function 'int prompt_pimpl(const lyx::docstring&, const lyx::docstring&, int, int, const lyx::docstring&, const lyx::docstring&, const lyx::docstring&)':
Alert_pimpl.C:42: error: 'bformat' was not declared in this scope
Alert_pimpl.C:45: error: 'QMessageBox' has not been declared
Alert_pimpl.C:45: error: 'QCoreApplication' has not been declared
Alert_pimpl.C:45: error: 'instance' was not declared in this scope
Alert_pimpl.C:46: error: invalid use of undefined type 'const struct QString'
qt_helpers.h:29: error: forward declaration of 'const struct QString'
Alert_pimpl.C:47: error: invalid use of undefined type 'const struct QString'
qt_helpers.h:29: error: forward declaration of 'const struct QString'
Alert_pimpl.C:48: error: invalid use of undefined type 'const struct QString'
qt_helpers.h:29: error: forward declaration of 'const struct QString'
Alert_pimpl.C:49: error: invalid use of undefined type 'const struct QString'
qt_helpers.h:29: error: forward declaration of 'const struct QString'
Alert_pimpl.C:50: error: incomplete type 'QString' used in nested name specifierAlert_pimpl.C:50: error: invalid use of undefined type 'const struct QString'
qt_helpers.h:29: error: forward declaration of 'const struct QString'
Alert_pimpl.C:51: error: 'information' was not declared in this scope
Alert_pimpl.C: In function 'void warning_pimpl(const lyx::docstring&, const lyx::docstring&)':
Alert_pimpl.C:62: error: 'bformat' was not declared in this scope
Alert_pimpl.C:63: error: 'QMessageBox' has not been declared
Alert_pimpl.C:63: error: 'QCoreApplication' has not been declared
Alert_pimpl.C:63: error: 'instance' was not declared in this scope
Alert_pimpl.C:64: error: invalid use of undefined type 'const struct QString'
qt_helpers.h:29: error: forward declaration of 'const struct QString'
Alert_pimpl.C:65: error: invalid use of undefined type 'const struct QString'
qt_helpers.h:29: error: forward declaration of 'const struct QString'
Alert_pimpl.C:65: error: 'warning' was not declared in this scope
Alert_pimpl.C: In function 'void error_pimpl(const lyx::docstring&, const lyx::docstring&)':
Alert_pimpl.C:71: error: 'bformat' was not declared in this scope
Alert_pimpl.C:72: error: 'QMessageBox' has not been declared
Alert_pimpl.C:72: error: 'QCoreApplication' has not been declared
Alert_pimpl.C:72: error: 'instance' was not declared in this scope
Alert_pimpl.C:73: error: invalid use of undefined type 'const struct QString'
qt_helpers.h:29: error: forward declaration of 'const struct QString'
Alert_pimpl.C:74: error: invalid use of undefined type 'const struct QString'
qt_helpers.h:29: error: forward declaration of 'const struct QString'
Alert_pimpl.C:74: error: 'critical' was not declared in this scope
Alert_pimpl.C: In function 'void information_pimpl(const lyx::docstring&, const lyx::docstring&)':
Alert_pimpl.C:80: error: 'bformat' was not declared in this scope
Alert_pimpl.C:81: error: 'QMessageBox' has not been declared
Alert_pimpl.C:81: error: 'QCoreApplication' has not been declared
Alert_pimpl.C:81: error: 'instance' was not declared in this scope
Alert_pimpl.C:82: error: invalid use of undefined type 'const struct QString'
qt_helpers.h:29: error: forward declaration of 'const struct QString'
Alert_pimpl.C:83: error: invalid use of undefined type 'const struct QString'
qt_helpers.h:29: error: forward declaration of 'const struct QString'
Alert_pimpl.C:83: error: 'information' was not declared in this scope
Alert_pimpl.C: In function 'const std::pair<bool, lyx::docstring> askForText_pimpl(const lyx::docstring&, const lyx::docstring&)':
Alert_pimpl.C:90: error: 'bformat' was not declared in this scope
Alert_pimpl.C:93: error: variable 'QString text' has initializer but incomplete type
Alert_pimpl.C:93: error: 'QInputDialog' has not been declared
Alert_pimpl.C:93: error: 'QCoreApplication' has not been declared
Alert_pimpl.C:93: error: 'instance' was not declared in this scope
Alert_pimpl.C:94: error: invalid use of undefined type 'const struct QString'
qt_helpers.h:29: error: forward declaration of 'const struct QString'
Alert_pimpl.C:95: error: invalid use of undefined type 'const struct QString'
qt_helpers.h:29: error: forward declaration of 'const struct QString'
Alert_pimpl.C:96: error: incomplete type 'QLineEdit' used in nested name specifier Alert_pimpl.C:97: error: invalid use of undefined type 'const struct QString'
qt_helpers.h:29: error: forward declaration of 'const struct QString'
Alert_pimpl.C:97: error: 'getText' was not declared in this scope
Alert_pimpl.C:100: error: no matching function for call to 'qstring_to_ucs4(<type error>)' qt_helpers.h:74: note: candidates are: const lyx::docstring qstring_to_ucs4(const QString&) qt_helpers.h:76: note: void qstring_to_ucs4(const QString&, __gnu_debug_def::vector<lyx::char_type, std::allocator<wchar_t> >&)
Alert_pimpl.C:103: warning: control reaches end of non-void function
make[7]: *** [Alert_pimpl.lo] Error 1
make[6]: *** [all-recursive] Error 1
make[5]: *** [all] Error 2
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
Hal >

Reply via email to