hela@hela-laptop:~$ g++ -g -o test -I /usr/local/Trolltech/Qt-4.5.2/include/Qt -L /usr/local/Trolltech/Qt-4.5.2/lib/ test.cc -lQtCore -lQtGui -lthread
In file included from test.cc:1:
/usr/local/Trolltech/Qt-4.5.2/include/Qt/qapplication.h:45:37: error: QtCore/qcoreapplication.h: No such file or directory
/usr/local/Trolltech/Qt-4.5.2/include/Qt/qapplication.h:46:31: error: QtGui/qwindowdefs.h: No such file or directory
/usr/local/Trolltech/Qt-4.5.2/include/Qt/qapplication.h:47:27: error: QtCore/qpoint.h: No such file or directory
/usr/local/Trolltech/Qt-4.5.2/include/Qt/qapplication.h:48:26: error: QtCore/qsize.h: No such file or directory
/usr/local/Trolltech/Qt-4.5.2/include/Qt/qapplication.h:49:27: error: QtGui/qcursor.h: No such file or directory
In file included from test.cc:2:
/usr/local/Trolltech/Qt-4.5.2/include/Qt/qpushbutton.h:45:35: error: QtGui/qabstractbutton.h: No such file or directory
In file included from test.cc:1:
/usr/local/Trolltech/Qt-4.5.2/include/Qt/qapplication.h:62: error: ‘QT_BEGIN_HEADER’ does not name a type
/usr/local/Trolltech/Qt-4.5.2/include/Qt/qapplication.h:87: error: function definition does not declare parameters
/usr/local/Trolltech/Qt-4.5.2/include/Qt/qapplication.h:387: error: ‘QT_END_NAMESPACE’ does not name a type
In file included from test.cc:2:
/usr/local/Trolltech/Qt-4.5.2/include/Qt/qpushbutton.h:57: error: function definition does not declare parameters
/usr/local/Trolltech/Qt-4.5.2/include/Qt/qpushbutton.h:120: error: ‘QT_END_NAMESPACE’ does not name a type
Partager