Bonjour,
Comme indiqué dans le titre lorsque je compile mon programme, le compilo me sort "QXmlDefaultHandler: No such file or directory". J'ai donc regarder dans le dossier include de Qt et il y est bien. Aurais-je oublié une chose ?
Voici le code:
Merci d'avance:d
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26 #ifndef PXMLHANDLER_H #define PXMLHANDLER_H #include <QXmlDefaultHandler> #include <QList> #include <QAction> class QString; class PXmlHandler : public QXmlDefaultHandler { public: PXmlHandler (QList<QAction *> *newList); bool startElement (const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &attributes); bool endElement (const QString &namespaceURI, const QString &localName, const QString &qName); bool characters (const QString &str); bool fatalError (const QXmlParseException &exception); private: QList<QAction *> *actionList; QString currentText; QAction *currentAction; bool haveItem; }; #endif
Partager