Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Super Contributor
pg1181
Posts: 398
Registered: ‎01-12-2011
My Device: Q10
Accepted Solution

How do I include QXmlQuery?

Hi,

 

I've tried the following:

 

#include<QXmlQuery>

 

This is what is shown in the documentation:

 

http://developer.blackberry.com/cascades/reference/qxmlquery.html#details

 

But it's not recognized:

 

Unresolved inclusion: <QXmlQuery>

 

Is there anything special I have to put into my .pro file? This is what I have so far:

 

APP_NAME = Test6

 

CONFIG += qt warn_on cascades10

 

LIBS += -lbb

LIBS += -lbbsystem

QT += network

QT += xml

LIBS += -lbbdata -lbb

LIBS += -lbbdata

LIBS += -lbbdevice

LIBS += -lbbcascadesmaps

LIBS += -lQtLocationSubset -lbbcascadesmaps -lGLESv1_CM

 

include(config.pri)

 

Thanks!

Super Contributor
pg1181
Posts: 398
Registered: ‎01-12-2011
My Device: Q10

Re: How do I include QXmlQuery?

[ Edited ]

By sheer luck, I was able to find what I needed:

 

QT += xmlpatterns

 

Nowhere in the documentation for BB QXmlQuery did it mention that this had to be added in order for QXmlQuery to work. I may be wrong, but I searched and found nothing about it.