slt je suis en train de developpez un programme comprenant la librairie qt car mon programme intègre une liste chainée mais après un qmake et un make voici le nombre incroyable d'erreurs qui apparaissent

g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I. -Isrc -I/usr/lib/qt3//include -o annuaire.o src/annuaire.cpp
Dans le fichier inclus à partir de src/annuaire.cpp:1:
src/annuaire.h:5:17: erreur: QList : Aucun fichier ou répertoire de ce type
src/annuaire.cpp:3:23: erreur: QTextStream : Aucun fichier ou répertoire de ce type
src/annuaire.cpp:4:17: erreur: QFile : Aucun fichier ou répertoire de ce type
In file included from src/annuaire.cpp:1:
src/annuaire.h:13: erreur: ISO C++ forbids declaration of ‘QList’ with no type
src/annuaire.h:13: erreur: expected ‘;’ before ‘<’ token
src/annuaire.h:14: erreur: ‘QListPersonne’ does not name a type
src/annuaire.cpp: In constructor ‘Annuaire::Annuaire()’:
src/annuaire.cpp:8: erreur: ‘QIODevice’ has not been declared
src/annuaire.cpp:8: erreur: invalid use of incomplete type ‘struct QTextStream’
/usr/lib/qt3//include/qstring.h:745: erreur: forward declaration of ‘struct QTextStream’
src/annuaire.cpp:9: erreur: ‘QIODevice’ has not been declared
src/annuaire.cpp:9: erreur: invalid use of incomplete type ‘struct QTextStream’
/usr/lib/qt3//include/qstring.h:745: erreur: forward declaration of ‘struct QTextStream’
src/annuaire.cpp: In destructor ‘Annuaire::~Annuaire()’:
src/annuaire.cpp:14: attention : problème possible détecté dans l'invocation de l'opérateur delete:
src/annuaire.cpp:14: attention : invalid use of incomplete type ‘struct QTextStream’
/usr/lib/qt3//include/qstring.h:745: attention : forward declaration of ‘struct QTextStream’
src/annuaire.cpp:14: note: ni le destructeur ni l'opérateur « delete » spécifique à la classe ne sera appellé, même s'ils sont déclarés lorsque la classe est définie
src/annuaire.cpp:15: attention : problème possible détecté dans l'invocation de l'opérateur delete:
src/annuaire.cpp:15: attention : invalid use of incomplete type ‘struct QTextStream’
/usr/lib/qt3//include/qstring.h:745: attention : forward declaration of ‘struct QTextStream’
src/annuaire.cpp:15: note: ni le destructeur ni l'opérateur « delete » spécifique à la classe ne sera appellé, même s'ils sont déclarés lorsque la classe est définie
src/annuaire.cpp: In member function ‘void Annuaire::ajouter()’:
src/annuaire.cpp:21: erreur: no match for ‘operator<<’ in ‘*((Annuaire*)this)->Annuaire::out << "Nom: "’
/usr/lib/qt3//include/qcstring.h:132: note: candidats sont: QDataStream& operator<<(QDataStream&, const QByteArray&)
/usr/lib/qt3//include/qcstring.h:240: note: QDataStream& operator<<(QDataStream&, const QCString&)
/usr/lib/qt3//include/qstring.h:825: note: QDataStream& operator<<(QDataStream&, const QString&)
src/annuaire.cpp:21: erreur: ‘flush’ was not declared in this scope
src/annuaire.cpp:22: erreur: no match for ‘operator>>’ in ‘*((Annuaire*)this)->Annuaire::in >> tmp.Annuaire:ersonne::nom’
/usr/lib/qt3//include/qcstring.h:133: note: candidats sont: QDataStream& operator>>(QDataStream&, QByteArray&)
/usr/lib/qt3//include/qcstring.h:241: note: QDataStream& operator>>(QDataStream&, QCString&)
/usr/lib/qt3//include/qstring.h:826: note: QDataStream& operator>>(QDataStream&, QString&)
src/annuaire.cpp:23: erreur: no match for ‘operator<<’ in ‘*((Annuaire*)this)->Annuaire::out << "Prenom: "’
/usr/lib/qt3//include/qcstring.h:132: note: candidats sont: QDataStream& operator<<(QDataStream&, const QByteArray&)
/usr/lib/qt3//include/qcstring.h:240: note: QDataStream& operator<<(QDataStream&, const QCString&)
/usr/lib/qt3//include/qstring.h:825: note: QDataStream& operator<<(QDataStream&, const QString&)
src/annuaire.cpp:24: erreur: no match for ‘operator>>’ in ‘*((Annuaire*)this)->Annuaire::in >> tmp.Annuaire:ersonne::prenom’
/usr/lib/qt3//include/qcstring.h:133: note: candidats sont: QDataStream& operator>>(QDataStream&, QByteArray&)
/usr/lib/qt3//include/qcstring.h:241: note: QDataStream& operator>>(QDataStream&, QCString&)
/usr/lib/qt3//include/qstring.h:826: note: QDataStream& operator>>(QDataStream&, QString&)
src/annuaire.cpp:25: erreur: no match for ‘operator<<’ in ‘*((Annuaire*)this)->Annuaire::out << "Telephone: "’
/usr/lib/qt3//include/qcstring.h:132: note: candidats sont: QDataStream& operator<<(QDataStream&, const QByteArray&)
/usr/lib/qt3//include/qcstring.h:240: note: QDataStream& operator<<(QDataStream&, const QCString&)
/usr/lib/qt3//include/qstring.h:825: note: QDataStream& operator<<(QDataStream&, const QString&)
src/annuaire.cpp:26: erreur: no match for ‘operator>>’ in ‘*((Annuaire*)this)->Annuaire::in >> tmp.Annuaire:ersonne::telephone’
/usr/lib/qt3//include/qcstring.h:133: note: candidats sont: QDataStream& operator>>(QDataStream&, QByteArray&)
/usr/lib/qt3//include/qcstring.h:241: note: QDataStream& operator>>(QDataStream&, QCString&)
/usr/lib/qt3//include/qstring.h:826: note: QDataStream& operator>>(QDataStream&, QString&)
src/annuaire.cpp:28: erreur: ‘l’ was not declared in this scope
src/annuaire.cpp: In member function ‘void Annuaire::supprimer()’:
src/annuaire.cpp:34: erreur: ‘l’ was not declared in this scope
src/annuaire.cpp:36: erreur: no match for ‘operator<<’ in ‘*((Annuaire*)this)->Annuaire::out << QString::fromUtf8(const char*, int)(-0x000000001)’
/usr/lib/qt3//include/qcstring.h:132: note: candidats sont: QDataStream& operator<<(QDataStream&, const QByteArray&)
/usr/lib/qt3//include/qcstring.h:240: note: QDataStream& operator<<(QDataStream&, const QCString&)
/usr/lib/qt3//include/qstring.h:825: note: QDataStream& operator<<(QDataStream&, const QString&)
src/annuaire.cpp:36: erreur: ‘flush’ was not declared in this scope
src/annuaire.cpp:41: erreur: no match for ‘operator<<’ in ‘*((Annuaire*)this)->Annuaire::out << "choisissez l\'index \37777777703\37777777640 supprimer:"’
/usr/lib/qt3//include/qcstring.h:132: note: candidats sont: QDataStream& operator<<(QDataStream&, const QByteArray&)
/usr/lib/qt3//include/qcstring.h:240: note: QDataStream& operator<<(QDataStream&, const QCString&)
/usr/lib/qt3//include/qstring.h:825: note: QDataStream& operator<<(QDataStream&, const QString&)
src/annuaire.cpp:41: erreur: ‘flush’ was not declared in this scope
src/annuaire.cpp:42: erreur: no match for ‘operator>>’ in ‘*((Annuaire*)this)->Annuaire::in >> index’
/usr/lib/qt3//include/qcstring.h:133: note: candidats sont: QDataStream& operator>>(QDataStream&, QByteArray&)
/usr/lib/qt3//include/qcstring.h:241: note: QDataStream& operator>>(QDataStream&, QCString&)
/usr/lib/qt3//include/qstring.h:826: note: QDataStream& operator>>(QDataStream&, QString&)
src/annuaire.cpp:45: erreur: ‘l’ was not declared in this scope
src/annuaire.cpp:50: erreur: no match for ‘operator<<’ in ‘*((Annuaire*)this)->Annuaire::out << QString::fromUtf8(const char*, int)(-0x000000001)’
/usr/lib/qt3//include/qcstring.h:132: note: candidats sont: QDataStream& operator<<(QDataStream&, const QByteArray&)
/usr/lib/qt3//include/qcstring.h:240: note: QDataStream& operator<<(QDataStream&, const QCString&)
/usr/lib/qt3//include/qstring.h:825: note: QDataStream& operator<<(QDataStream&, const QString&)
src/annuaire.cpp: In member function ‘void Annuaire::afficher()’:
src/annuaire.cpp:57: erreur: ‘QListPersonne’ has not been declared
src/annuaire.cpp:57: erreur: expected `;' before ‘i’
src/annuaire.cpp:58: erreur: ‘i’ was not declared in this scope
src/annuaire.cpp:58: erreur: ‘l’ was not declared in this scope
src/annuaire.cpp:63: erreur: ‘endl’ was not declared in this scope
src/annuaire.cpp: In member function ‘void Annuaire::modifier()’:
src/annuaire.cpp:70: erreur: ‘l’ was not declared in this scope
src/annuaire.cpp:72: erreur: no match for ‘operator<<’ in ‘*((Annuaire*)this)->Annuaire::out << QString::fromUtf8(const char*, int)(-0x000000001)’
/usr/lib/qt3//include/qcstring.h:132: note: candidats sont: QDataStream& operator<<(QDataStream&, const QByteArray&)
/usr/lib/qt3//include/qcstring.h:240: note: QDataStream& operator<<(QDataStream&, const QCString&)
/usr/lib/qt3//include/qstring.h:825: note: QDataStream& operator<<(QDataStream&, const QString&)
src/annuaire.cpp:72: erreur: ‘endl’ was not declared in this scope
src/annuaire.cpp:77: erreur: no match for ‘operator<<’ in ‘*((Annuaire*)this)->Annuaire::out << "choisissez l\'index \37777777703\37777777640 modifier:"’
/usr/lib/qt3//include/qcstring.h:132: note: candidats sont: QDataStream& operator<<(QDataStream&, const QByteArray&)
/usr/lib/qt3//include/qcstring.h:240: note: QDataStream& operator<<(QDataStream&, const QCString&)
/usr/lib/qt3//include/qstring.h:825: note: QDataStream& operator<<(QDataStream&, const QString&)
src/annuaire.cpp:77: erreur: ‘flush’ was not declared in this scope
src/annuaire.cpp:78: erreur: no match for ‘operator>>’ in ‘*((Annuaire*)this)->Annuaire::in >> index’
/usr/lib/qt3//include/qcstring.h:133: note: candidats sont: QDataStream& operator>>(QDataStream&, QByteArray&)
/usr/lib/qt3//include/qcstring.h:241: note: QDataStream& operator>>(QDataStream&, QCString&)
/usr/lib/qt3//include/qstring.h:826: note: QDataStream& operator>>(QDataStream&, QString&)
src/annuaire.cpp:81: erreur: ‘l’ was not declared in this scope
src/annuaire.cpp:84: erreur: no match for ‘operator<<’ in ‘*((Annuaire*)this)->Annuaire::out << "Nom: "’
/usr/lib/qt3//include/qcstring.h:132: note: candidats sont: QDataStream& operator<<(QDataStream&, const QByteArray&)
/usr/lib/qt3//include/qcstring.h:240: note: QDataStream& operator<<(QDataStream&, const QCString&)
/usr/lib/qt3//include/qstring.h:825: note: QDataStream& operator<<(QDataStream&, const QString&)
src/annuaire.cpp:85: erreur: no match for ‘operator>>’ in ‘*((Annuaire*)this)->Annuaire::in >> tmp.Annuaire:ersonne::nom’
/usr/lib/qt3//include/qcstring.h:133: note: candidats sont: QDataStream& operator>>(QDataStream&, QByteArray&)
/usr/lib/qt3//include/qcstring.h:241: note: QDataStream& operator>>(QDataStream&, QCString&)
/usr/lib/qt3//include/qstring.h:826: note: QDataStream& operator>>(QDataStream&, QString&)
src/annuaire.cpp:86: erreur: no match for ‘operator<<’ in ‘*((Annuaire*)this)->Annuaire::out << "Prenom: "’
/usr/lib/qt3//include/qcstring.h:132: note: candidats sont: QDataStream& operator<<(QDataStream&, const QByteArray&)
/usr/lib/qt3//include/qcstring.h:240: note: QDataStream& operator<<(QDataStream&, const QCString&)
/usr/lib/qt3//include/qstring.h:825: note: QDataStream& operator<<(QDataStream&, const QString&)
src/annuaire.cpp:87: erreur: no match for ‘operator>>’ in ‘*((Annuaire*)this)->Annuaire::in >> tmp.Annuaire:ersonne::prenom’
/usr/lib/qt3//include/qcstring.h:133: note: candidats sont: QDataStream& operator>>(QDataStream&, QByteArray&)
/usr/lib/qt3//include/qcstring.h:241: note: QDataStream& operator>>(QDataStream&, QCString&)
/usr/lib/qt3//include/qstring.h:826: note: QDataStream& operator>>(QDataStream&, QString&)
src/annuaire.cpp:88: erreur: no match for ‘operator<<’ in ‘*((Annuaire*)this)->Annuaire::out << "Telephone: "’
/usr/lib/qt3//include/qcstring.h:132: note: candidats sont: QDataStream& operator<<(QDataStream&, const QByteArray&)
/usr/lib/qt3//include/qcstring.h:240: note: QDataStream& operator<<(QDataStream&, const QCString&)
/usr/lib/qt3//include/qstring.h:825: note: QDataStream& operator<<(QDataStream&, const QString&)
src/annuaire.cpp:89: erreur: no match for ‘operator>>’ in ‘*((Annuaire*)this)->Annuaire::in >> tmp.Annuaire:ersonne::telephone’
/usr/lib/qt3//include/qcstring.h:133: note: candidats sont: QDataStream& operator>>(QDataStream&, QByteArray&)
/usr/lib/qt3//include/qcstring.h:241: note: QDataStream& operator>>(QDataStream&, QCString&)
/usr/lib/qt3//include/qstring.h:826: note: QDataStream& operator>>(QDataStream&, QString&)
src/annuaire.cpp:95: erreur: no match for ‘operator<<’ in ‘*((Annuaire*)this)->Annuaire::out << QString::fromUtf8(const char*, int)(-0x000000001)’
/usr/lib/qt3//include/qcstring.h:132: note: candidats sont: QDataStream& operator<<(QDataStream&, const QByteArray&)
/usr/lib/qt3//include/qcstring.h:240: note: QDataStream& operator<<(QDataStream&, const QCString&)
/usr/lib/qt3//include/qstring.h:825: note: QDataStream& operator<<(QDataStream&, const QString&)
src/annuaire.cpp: In member function ‘void Annuaire::enregistrer()’:
src/annuaire.cpp:101: erreur: ‘l’ was not declared in this scope
src/annuaire.cpp:103: erreur: no match for ‘operator<<’ in ‘*((Annuaire*)this)->Annuaire::out << QString::fromUtf8(const char*, int)(-0x000000001)’
/usr/lib/qt3//include/qcstring.h:132: note: candidats sont: QDataStream& operator<<(QDataStream&, const QByteArray&)
/usr/lib/qt3//include/qcstring.h:240: note: QDataStream& operator<<(QDataStream&, const QCString&)
/usr/lib/qt3//include/qstring.h:825: note: QDataStream& operator<<(QDataStream&, const QString&)
src/annuaire.cpp:103: erreur: ‘endl’ was not declared in this scope
src/annuaire.cpp:108: erreur: no match for ‘operator<<’ in ‘*((Annuaire*)this)->Annuaire::out << "nom du fichier : "’
/usr/lib/qt3//include/qcstring.h:132: note: candidats sont: QDataStream& operator<<(QDataStream&, const QByteArray&)
/usr/lib/qt3//include/qcstring.h:240: note: QDataStream& operator<<(QDataStream&, const QCString&)
/usr/lib/qt3//include/qstring.h:825: note: QDataStream& operator<<(QDataStream&, const QString&)
src/annuaire.cpp:108: erreur: ‘flush’ was not declared in this scope
src/annuaire.cpp:109: erreur: no match for ‘operator>>’ in ‘*((Annuaire*)this)->Annuaire::in >> nomFichier’
/usr/lib/qt3//include/qcstring.h:133: note: candidats sont: QDataStream& operator>>(QDataStream&, QByteArray&)
/usr/lib/qt3//include/qcstring.h:241: note: QDataStream& operator>>(QDataStream&, QCString&)
/usr/lib/qt3//include/qstring.h:826: note: QDataStream& operator>>(QDataStream&, QString&)
src/annuaire.cpp:111: erreur: ‘QFile’ was not declared in this scope
src/annuaire.cpp:111: erreur: expected `;' before ‘fichier’
src/annuaire.cpp:112: erreur: ‘fichier’ was not declared in this scope
src/annuaire.cpp:112: erreur: ‘QIODevice’ has not been declared
src/annuaire.cpp:112: erreur: ‘QIODevice’ has not been declared
src/annuaire.cpp:113: erreur: variable ‘QTextStream fOut’ has initializer but incomplete type
src/annuaire.cpp:114: erreur: ‘QListPersonne’ has not been declared
src/annuaire.cpp:114: erreur: expected `;' before ‘i’
src/annuaire.cpp:116: erreur: ‘i’ was not declared in this scope
src/annuaire.cpp:116: erreur: ‘l’ was not declared in this scope
src/annuaire.cpp: In member function ‘void Annuaire::demarrer()’:
src/annuaire.cpp:130: erreur: no match for ‘operator<<’ in ‘*((Annuaire*)this)->Annuaire::out << "Ajouter, Supprimer, Modifier, Enregistrer, Charger, aFficher, Quitter: "’
/usr/lib/qt3//include/qcstring.h:132: note: candidats sont: QDataStream& operator<<(QDataStream&, const QByteArray&)
/usr/lib/qt3//include/qcstring.h:240: note: QDataStream& operator<<(QDataStream&, const QCString&)
/usr/lib/qt3//include/qstring.h:825: note: QDataStream& operator<<(QDataStream&, const QString&)
src/annuaire.cpp:130: erreur: ‘flush’ was not declared in this scope
src/annuaire.cpp:131: erreur: invalid use of incomplete type ‘struct QTextStream’
/usr/lib/qt3//include/qstring.h:745: erreur: forward declaration of ‘struct QTextStream’
src/annuaire.cpp:133: erreur: no match for ‘operator>>’ in ‘*((Annuaire*)this)->Annuaire::in >> touche’
/usr/lib/qt3//include/qcstring.h:133: note: candidats sont: QDataStream& operator>>(QDataStream&, QByteArray&)
/usr/lib/qt3//include/qcstring.h:241: note: QDataStream& operator>>(QDataStream&, QCString&)
/usr/lib/qt3//include/qstring.h:826: note: QDataStream& operator>>(QDataStream&, QString&)
src/annuaire.cpp:138: erreur: no match for ‘operator<<’ in ‘*((Annuaire*)this)->Annuaire::out << "Ajouter\012"’
/usr/lib/qt3//include/qcstring.h:132: note: candidats sont: QDataStream& operator<<(QDataStream&, const QByteArray&)
/usr/lib/qt3//include/qcstring.h:240: note: QDataStream& operator<<(QDataStream&, const QCString&)
/usr/lib/qt3//include/qstring.h:825: note: QDataStream& operator<<(QDataStream&, const QString&)
src/annuaire.cpp:143: erreur: no match for ‘operator<<’ in ‘*((Annuaire*)this)->Annuaire::out << "Supprimer\012"’
/usr/lib/qt3//include/qcstring.h:132: note: candidats sont: QDataStream& operator<<(QDataStream&, const QByteArray&)
/usr/lib/qt3//include/qcstring.h:240: note: QDataStream& operator<<(QDataStream&, const QCString&)
/usr/lib/qt3//include/qstring.h:825: note: QDataStream& operator<<(QDataStream&, const QString&)
src/annuaire.cpp:147: erreur: no match for ‘operator<<’ in ‘*((Annuaire*)this)->Annuaire::out << "Modifier\012"’
/usr/lib/qt3//include/qcstring.h:132: note: candidats sont: QDataStream& operator<<(QDataStream&, const QByteArray&)
/usr/lib/qt3//include/qcstring.h:240: note: QDataStream& operator<<(QDataStream&, const QCString&)
/usr/lib/qt3//include/qstring.h:825: note: QDataStream& operator<<(QDataStream&, const QString&)
src/annuaire.cpp:152: erreur: no match for ‘operator<<’ in ‘*((Annuaire*)this)->Annuaire::out << "Enregistrer\012"’
/usr/lib/qt3//include/qcstring.h:132: note: candidats sont: QDataStream& operator<<(QDataStream&, const QByteArray&)
/usr/lib/qt3//include/qcstring.h:240: note: QDataStream& operator<<(QDataStream&, const QCString&)
/usr/lib/qt3//include/qstring.h:825: note: QDataStream& operator<<(QDataStream&, const QString&)
src/annuaire.cpp:157: erreur: no match for ‘operator<<’ in ‘*((Annuaire*)this)->Annuaire::out << "Charger\012"’
/usr/lib/qt3//include/qcstring.h:132: note: candidats sont: QDataStream& operator<<(QDataStream&, const QByteArray&)
/usr/lib/qt3//include/qcstring.h:240: note: QDataStream& operator<<(QDataStream&, const QCString&)
/usr/lib/qt3//include/qstring.h:825: note: QDataStream& operator<<(QDataStream&, const QString&)
src/annuaire.cpp:162: erreur: no match for ‘operator<<’ in ‘*((Annuaire*)this)->Annuaire::out << "Afficher\012"’
/usr/lib/qt3//include/qcstring.h:132: note: candidats sont: QDataStream& operator<<(QDataStream&, const QByteArray&)
/usr/lib/qt3//include/qcstring.h:240: note: QDataStream& operator<<(QDataStream&, const QCString&)
/usr/lib/qt3//include/qstring.h:825: note: QDataStream& operator<<(QDataStream&, const QString&)
src/annuaire.cpp:167: erreur: no match for ‘operator<<’ in ‘*((Annuaire*)this)->Annuaire::out << "Quitter\012"’
/usr/lib/qt3//include/qcstring.h:132: note: candidats sont: QDataStream& operator<<(QDataStream&, const QByteArray&)
/usr/lib/qt3//include/qcstring.h:240: note: QDataStream& operator<<(QDataStream&, const QCString&)
/usr/lib/qt3//include/qstring.h:825: note: QDataStream& operator<<(QDataStream&, const QString&)
src/annuaire.cpp:170: erreur: no match for ‘operator<<’ in ‘*((Annuaire*)this)->Annuaire::out << "Touche invalide\012"’
/usr/lib/qt3//include/qcstring.h:132: note: candidats sont: QDataStream& operator<<(QDataStream&, const QByteArray&)
/usr/lib/qt3//include/qcstring.h:240: note: QDataStream& operator<<(QDataStream&, const QCString&)
/usr/lib/qt3//include/qstring.h:825: note: QDataStream& operator<<(QDataStream&, const QString&)
make: *** [annuaire.o] Erreur 1
je pense pourtant avoir bien installé qt, peut être pas de la bonne manière, mais si vous pourriez m'aidez ce serait sympas