Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User laya.777's Avatar
    Join Date
    Apr 2010
    Location
    Singapore
    Posts
    22
    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
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    Did you add
    Code:
    QT += xml
    to the project file as documentation suggest?
    http://doc.trolltech.com/4.6/qtxml.html#details

Similar Threads

  1. [split] mbm build error
    By mando222 in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2009-03-29, 12:32
  2. Replies: 3
    Last Post: 2007-03-07, 03:36
  3. include header file error.
    By gift_te in forum Symbian C++
    Replies: 5
    Last Post: 2007-03-05, 08:57
  4. 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
  5. 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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved