cd '/home/saeed/test' && QTDIR="/usr/qt/3" gmake -j1 cd src && gmake -f Makefile compiling test.cpp (g++) test.cpp:7:24: error: qpopupmenu.h: No such file or directory test.cpp:16:20: error: qaccel.h: No such file or directory test.cpp:19:33: error: qpaintdevicemetrics.h: No such file or directory test.cpp: In constructor ‘test::test()’: test.cpp:27: error: ‘WDestructiveClose’ was not declared in this scope test.cpp:32: error: no matching function for call to ‘QToolBar::QToolBar(test* const, const char [16])’ /usr/include/qt4/QtGui/qtoolbar.h:138: note: candidates are: QToolBar::QToolBar(const QToolBar&) /usr/include/qt4/QtGui/qtoolbar.h:60: note: QToolBar::QToolBar(QWidget*) /usr/include/qt4/QtGui/qtoolbar.h:59: note: QToolBar::QToolBar(const QString&, QWidget*) test.cpp:33: error: ‘class QToolBar’ has no member named ‘setLabel’ test.cpp:38: error: no matching function for call to ‘QToolButton::QToolButton(QPixmap&, QString, const QString::Null&, test* const, const char [10], QToolBar*&, const char [10])’ /usr/include/qt4/QtGui/qtoolbutton.h:107: note: candidates are: QToolButton::QToolButton(const QToolButton&) /usr/include/qt4/QtGui/qtoolbutton.h:91: note: QToolButton::QToolButton(QToolButtonPrivate&, QWidget*) /usr/include/qt4/QtGui/qtoolbutton.h:56: note: QToolButton::QToolButton(QWidget*) test.cpp:43: error: no matching function for call to ‘QToolButton::QToolButton(QPixmap&, QString, const QString::Null&, test* const, const char [8], QToolBar*&, const char [10])’ /usr/include/qt4/QtGui/qtoolbutton.h:107: note: candidates are: QToolButton::QToolButton(const QToolButton&) /usr/include/qt4/QtGui/qtoolbutton.h:91: note: QToolButton::QToolButton(QToolButtonPrivate&, QWidget*) /usr/include/qt4/QtGui/qtoolbutton.h:56: note: QToolButton::QToolButton(QWidget*) test.cpp:48: error: no matching function for call to ‘QToolButton::QToolButton(QPixmap&, QString, const QString::Null&, test* const, const char [9], QToolBar*&, const char [11])’ /usr/include/qt4/QtGui/qtoolbutton.h:107: note: candidates are: QToolButton::QToolButton(const QToolButton&) /usr/include/qt4/QtGui/qtoolbutton.h:91: note: QToolButton::QToolButton(QToolButtonPrivate&, QWidget*) /usr/include/qt4/QtGui/qtoolbutton.h:56: note: QToolButton::QToolButton(QWidget*) test.cpp:51: error: ‘whatsThisButton’ is not a member of ‘QWhatsThis’ test.cpp:58: error: ‘add’ is not a member of ‘QWhatsThis’ test.cpp:60: error: ‘QMimeSourceFactory’ has not been declared test.cpp:60: error: expected initializer before ‘->’ token test.cpp:67: error: ‘add’ is not a member of ‘QWhatsThis’ test.cpp:73: error: ‘add’ is not a member of ‘QWhatsThis’ test.cpp:76: error: ‘QPopupMenu’ was not declared in this scope test.cpp:76: error: ‘file’ was not declared in this scope test.cpp:76: error: expected type-specifier before ‘QPopupMenu’ test.cpp:76: error: expected `;' before ‘QPopupMenu’ test.cpp:77: error: ‘class QMenuBar’ has no member named ‘insertItem’ test.cpp:80: error: ‘CTRL’ was not declared in this scope test.cpp:80: error: ‘Key_N’ was not declared in this scope test.cpp:84: error: ‘Key_O’ was not declared in this scope test.cpp:88: error: ‘Key_S’ was not declared in this scope test.cpp:97: error: ‘Key_P’ was not declared in this scope test.cpp:102: error: ‘Key_W’ was not declared in this scope test.cpp:104: error: ‘Key_Q’ was not declared in this scope test.cpp:106: error: no matching function for call to ‘QMenuBar::insertSeparator()’ /usr/include/qt4/QtGui/qmenubar.h:64: note: candidates are: QAction* QMenuBar::insertSeparator(QAction*) test.cpp:108: error: ‘help’ was not declared in this scope test.cpp:108: error: expected type-specifier before ‘QPopupMenu’ test.cpp:108: error: expected `;' before ‘QPopupMenu’ test.cpp:109: error: ‘class QMenuBar’ has no member named ‘insertItem’ test.cpp:111: error: ‘Key_F1’ was not declared in this scope test.cpp:114: error: ‘SHIFT’ was not declared in this scope test.cpp:116: error: no matching function for call to ‘QTextEdit::QTextEdit(test* const, const char [7])’ /usr/include/qt4/QtGui/qtextedit.h:374: note: candidates are: QTextEdit::QTextEdit(const QTextEdit&) /usr/include/qt4/QtGui/qtextedit.h:286: note: QTextEdit::QTextEdit(QTextEditPrivate&, QWidget*) /usr/include/qt4/QtGui/qtextedit.h:109: note: QTextEdit::QTextEdit(const QString&, QWidget*) /usr/include/qt4/QtGui/qtextedit.h:108: note: QTextEdit::QTextEdit(QWidget*) test.cpp:119: error: ‘class QStatusBar’ has no member named ‘message’ test.cpp: In member function ‘void test::newDoc()’: test.cpp:135: error: ‘class test’ has no member named ‘setCaption’ test.cpp: In member function ‘void test::choose()’: test.cpp:142: error: no matching function for call to ‘QFileDialog::getOpenFileName(const QString::Null&, const QString::Null&, test* const)’ /usr/include/qt4/QtGui/qfiledialog.h:144: note: candidates are: static QString QFileDialog::getOpenFileName(QWidget*, const QString&, const QString&, const QString&, QString*, QFlags) test.cpp:146: error: ‘class QStatusBar’ has no member named ‘message’ test.cpp: In member function ‘void test::load(const QString&)’: test.cpp:153: error: ‘IO_ReadOnly’ was not declared in this scope test.cpp:157: error: no matching function for call to ‘QTextStream::read()’ /usr/include/qt4/QtCore/qtextstream.h:119: note: candidates are: QString QTextStream::read(qint64) test.cpp:158: error: ‘class QTextEdit’ has no member named ‘setModified’ test.cpp:159: error: ‘setCaption’ was not declared in this scope test.cpp:160: error: ‘class QStatusBar’ has no member named ‘message’ test.cpp: In member function ‘void test::save()’: test.cpp:171: error: ‘class QTextEdit’ has no member named ‘text’ test.cpp:173: error: ‘IO_WriteOnly’ was not declared in this scope test.cpp:174: error: ‘class QStatusBar’ has no member named ‘message’ test.cpp:183: error: ‘class QTextEdit’ has no member named ‘setModified’ test.cpp:185: error: ‘setCaption’ was not declared in this scope test.cpp:187: error: ‘class QStatusBar’ has no member named ‘message’ test.cpp: In member function ‘void test::saveAs()’: test.cpp:194: error: no matching function for call to ‘QFileDialog::getSaveFileName(const QString::Null&, const QString::Null&, test* const)’ /usr/include/qt4/QtGui/qfiledialog.h:151: note: candidates are: static QString QFileDialog::getSaveFileName(QWidget*, const QString&, const QString&, const QString&, QString*, QFlags) test.cpp:199: error: ‘class QStatusBar’ has no member named ‘message’ test.cpp: In member function ‘void test::print()’: test.cpp:210: error: ‘class QPrinter’ has no member named ‘setup’ test.cpp:211: error: ‘class QStatusBar’ has no member named ‘message’ test.cpp:219: error: ‘QPaintDeviceMetrics’ was not declared in this scope test.cpp:219: error: expected `;' before ‘metrics’ test.cpp:221: error: ‘class QTextEdit’ has no member named ‘lines’ test.cpp:222: error: ‘metrics’ was not declared in this scope test.cpp:226: error: ‘class QStatusBar’ has no member named ‘message’ test.cpp:231: error: ‘metrics’ was not declared in this scope test.cpp:232: error: ‘ExpandTabs’ was not declared in this scope test.cpp:232: error: ‘DontClip’ was not declared in this scope test.cpp:233: error: ‘class QTextEdit’ has no member named ‘text’ test.cpp:237: error: ‘class QStatusBar’ has no member named ‘message’ test.cpp:239: error: ‘class QStatusBar’ has no member named ‘message’ test.cpp: In member function ‘virtual void test::closeEvent(QCloseEvent*)’: test.cpp:245: error: ‘class QTextEdit’ has no member named ‘isModified’ test.cpp:246: error: invalid use of undefined type ‘struct QCloseEvent’ /usr/include/qt4/QtGui/qwidget.h:63: error: forward declaration of ‘struct QCloseEvent’ test.cpp:257: error: invalid use of undefined type ‘struct QCloseEvent’ /usr/include/qt4/QtGui/qwidget.h:63: error: forward declaration of ‘struct QCloseEvent’ test.cpp:260: error: invalid use of undefined type ‘struct QCloseEvent’ /usr/include/qt4/QtGui/qwidget.h:63: error: forward declaration of ‘struct QCloseEvent’ test.cpp:264: error: invalid use of undefined type ‘struct QCloseEvent’ /usr/include/qt4/QtGui/qwidget.h:63: error: forward declaration of ‘struct QCloseEvent’ gmake[1]: *** [test.o] Error 1 gmake: *** [sub-src-make_default] Error 2 *** Exited with status: 2 ***