Results 1 to 2 of 2

Thread: Qt4 XML usage

  1. #1
    Join Date
    Jan 2006
    Posts
    46
    Thanks
    2
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Qt4 XML usage

    Hi guys, I'm having troubles with XML. Following Qt docs I included QDomDocument and then create an object of that class:
    Qt Code:
    1. domDoc = new QDomDocument();
    To copy to clipboard, switch view to plain text mode 

    I added:
    QT+=xml
    But, when I run qmake && make I got the followin error:
    GXYParser.cpp:22:24: QDomDocument: No such file or directory
    What am I doing wrong?

    Thanx a lot in advance.
    Kandalf
    There's no place like ~

  2. #2
    Join Date
    Jan 2006
    Posts
    46
    Thanks
    2
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt4 XML usage [Solved]

    Nevermind, as usual, I figure it out right after posting, sorry.

    I needed to include <QtXml/QDomDocument>
    Kandalf
    There's no place like ~

Similar Threads

  1. Reducing CPU Usage
    By Kapil in forum Qt Programming
    Replies: 8
    Last Post: 3rd April 2011, 14:43
  2. QEffects.cpp usage.....
    By Naveen in forum Qt Programming
    Replies: 6
    Last Post: 11th January 2011, 11:07
  3. QList usage in place QPtrList
    By darpan in forum Qt Programming
    Replies: 2
    Last Post: 25th October 2006, 15:41
  4. Usage of the Debugger!!
    By Kapil in forum Qt Programming
    Replies: 9
    Last Post: 20th April 2006, 04:48

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.