Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Apr 2010

    Question can not include QtXml in header file

    Hi everyone,

    I want to use QT Xml function to read file from xml. However when I type #include<QtXml> or #include <QXmlSimpleReader> at the beggining of my mainwindow.h and build it, same errors always come out like"QtXml: no such file or directory" "QXmlSimpleReader: no such file or directory". I have checked the qt/include folder and there do have QtXml and QXmlSimpleReader down there..

    Anyone can help me on this problem???

    Thanks a lot!!

  2. #2
    Super Contributor
    Join Date
    Oct 2009

    Re: can not include QtXml in header file

    Did you add
    QT += xml
    to the project file as documentation suggest?

Similar Threads

  1. [split] mbm build error
    By mando222 in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2009-03-29, 12:32
  2. include header file error.
    By gift_te in forum Symbian
    Replies: 5
    Last Post: 2007-03-05, 08:57
  3. Wish for Carbide C++ Pro: change the include order of .h files in a .cpp file
    By svdwal in forum Tools and SDK Feedback (Closed)
    Replies: 0
    Last Post: 2006-10-20, 16:01
  4. nokia 7210 modem via IR doesn't work !
    By oussamaaiadi in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-03-06, 10:46

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts