[vincent@localhost qt]$ make
g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -I/usr/lib/qt3/mkspecs/linux-g++ -I. -I. -I/usr/share/qt//include -o appliPlus.o appliPlus.cpp
Dans le fichier inclus à partir de appliPlus.cpp:1:
calculPlus.h:3:24: erreur: QApplication : Aucun fichier ou répertoire de ce type
calculPlus.h:4:19: erreur: QWidget : Aucun fichier ou répertoire de ce type
calculPlus.h:5:23: erreur: QVBoxLayout : Aucun fichier ou répertoire de ce type
calculPlus.h:6:23: erreur: QHBoxLayout : Aucun fichier ou répertoire de ce type
calculPlus.h:7:18: erreur: QLabel : Aucun fichier ou répertoire de ce type
calculPlus.h:8:21: erreur: QLineEdit : Aucun fichier ou répertoire de ce type
calculPlus.h:9:23: erreur: QPushButton : Aucun fichier ou répertoire de ce type
calculPlus.h:10:19: erreur: QString : Aucun fichier ou répertoire de ce type
calculPlus.h:11:19: erreur: QDialog : Aucun fichier ou répertoire de ce type
In file included from appliPlus.cpp:1:
calculPlus.h:13: erreur: expected class-name before ‘{’ token
calculPlus.h:14: erreur: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
calculPlus.h:15: erreur: expected ‘;’ before ‘public’
calculPlus.h:18: erreur: ISO C++ forbids declaration of ‘QHBoxLayout’ with no type
calculPlus.h:18: erreur: expected ‘;’ before ‘*’ token
calculPlus.h:19: erreur: ISO C++ forbids declaration of ‘QVBoxLayout’ with no type
calculPlus.h:19: erreur: expected ‘;’ before ‘*’ token
calculPlus.h:20: erreur: ISO C++ forbids declaration of ‘QVBoxLayout’ with no type
calculPlus.h:20: erreur: expected ‘;’ before ‘*’ token
calculPlus.h:21: erreur: ISO C++ forbids declaration of ‘QGridLayout’ with no type
calculPlus.h:21: erreur: expected ‘;’ before ‘*’ token
calculPlus.h:24: erreur: ISO C++ forbids declaration of ‘QLineEdit’ with no type
calculPlus.h:24: erreur: expected ‘;’ before ‘*’ token
calculPlus.h:28: erreur: ISO C++ forbids declaration of ‘QPushButton’ with no type
calculPlus.h:28: erreur: expected ‘;’ before ‘*’ token
calculPlus.h:29: erreur: ISO C++ forbids declaration of ‘QPushButton’ with no type
calculPlus.h:29: erreur: expected ‘;’ before ‘*’ token
calculPlus.h:30: erreur: ISO C++ forbids declaration of ‘QPushButton’ with no type
calculPlus.h:30: erreur: expected ‘;’ before ‘*’ token
calculPlus.h:31: erreur: ISO C++ forbids declaration of ‘QPushButton’ with no type
calculPlus.h:31: erreur: expected ‘;’ before ‘*’ token
calculPlus.h:32: erreur: ISO C++ forbids declaration of ‘QPushButton’ with no type
calculPlus.h:32: erreur: expected ‘;’ before ‘*’ token
calculPlus.h:34: erreur: ISO C++ forbids declaration of ‘QPushButton’ with no type
calculPlus.h:34: erreur: expected ‘;’ before ‘*’ token
calculPlus.h:35: erreur: ISO C++ forbids declaration of ‘QPushButton’ with no type
calculPlus.h:35: erreur: expected ‘;’ before ‘*’ token
calculPlus.h:36: erreur: ISO C++ forbids declaration of ‘QPushButton’ with no type
calculPlus.h:36: erreur: expected ‘;’ before ‘*’ token
calculPlus.h:37: erreur: ISO C++ forbids declaration of ‘QPushButton’ with no type
calculPlus.h:37: erreur: expected ‘;’ before ‘*’ token
calculPlus.h:38: erreur: ISO C++ forbids declaration of ‘QPushButton’ with no type
calculPlus.h:38: erreur: expected ‘;’ before ‘*’ token
calculPlus.h:39: erreur: ISO C++ forbids declaration of ‘QPushButton’ with no type
calculPlus.h:39: erreur: expected ‘;’ before ‘*’ token
calculPlus.h:40: erreur: ISO C++ forbids declaration of ‘QPushButton’ with no type
calculPlus.h:40: erreur: expected ‘;’ before ‘*’ token
calculPlus.h:41: erreur: ISO C++ forbids declaration of ‘QPushButton’ with no type
calculPlus.h:41: erreur: expected ‘;’ before ‘*’ token
calculPlus.h:42: erreur: ISO C++ forbids declaration of ‘QPushButton’ with no type
calculPlus.h:42: erreur: expected ‘;’ before ‘*’ token
calculPlus.h:43: erreur: ISO C++ forbids declaration of ‘QPushButton’ with no type
calculPlus.h:43: erreur: expected ‘;’ before ‘*’ token
calculPlus.h:44: erreur: ISO C++ forbids declaration of ‘QPushButton’ with no type
calculPlus.h:44: erreur: expected ‘;’ before ‘*’ token
calculPlus.h:45: erreur: ISO C++ forbids declaration of ‘QPushButton’ with no type
calculPlus.h:45: erreur: expected ‘;’ before ‘*’ token
calculPlus.h:47: erreur: expected `:' before ‘slots’
calculPlus.h:48: erreur: expected primary-expression before ‘void’
calculPlus.h:48: erreur: ISO C++ forbids declaration of ‘slots’ with no type
calculPlus.h:48: erreur: expected ‘;’ before ‘void’
appliPlus.cpp: In function ‘int main(int, char**)’:
appliPlus.cpp:4: erreur: ‘QApplication’ was not declared in this scope
appliPlus.cpp:4: erreur: expected `;' before ‘app’
appliPlus.cpp:6: erreur: ‘class Calculatrice’ has no member named ‘show’
appliPlus.cpp:7: erreur: ‘app’ was not declared in this scope
appliPlus.cpp: At global scope:
appliPlus.cpp:3: attention : unused parameter ‘argc’
appliPlus.cpp:3: attention : unused parameter ‘argv’
make: *** [appliPlus.o] Erreur 1
Partager