Adding QXmlQuery to project
I would like to add QXmlQuery to my project and I have tried using
in the header, but it just gets a greenish-yellow underline and doesn't appear to recognize it. What am I doing wrong? I'm sure its a n00b mistake but help would be appreciated anyway.
Look at the documentation, and check if all requirement for using QXmlQuery are satisfied:
In the page there is a box indicating that you should not only include the file but also specify "QT += xmlpatterns" into your project file.
You are missing
@QT += xmlpatterns@
in your pro file
Edit: split second Gianluca :D
Oh haha I feel stupid now. Thanks for the answers both of you!