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
Developer
Posts: 97
Registered: ‎07-17-2008
My Device: Not Specified
Accepted Solution

QDomElement Class not loading in gold release

Hello All,

 

Some of the classes are not getting included in gold release. I dont know why?

QDomElement, QDomNodeList are not loaded in the program and showing fatal error.

 

 

Please reply, I am stuck at this from last week...

 

Thanks and regards,

Shubhangi

Developer
Posts: 1,524
Registered: ‎12-18-2012
My Device: Z30, Z10 LE, DevAlpha C, PlayBook

Re: QDomElement Class not loading in gold release

[ Edited ]

They seem to be there:

[user@mserv /Applications/bbndk/target_10_0_9_1673/qnx6/usr/include]$ find . -name "QDomNodeList"
./qt4/QtXml/QDomNodeList

 

[user@mserv /Applications/bbndk/target_10_0_9_1673/qnx6/usr/include]$ grep -r QDomNodeList *
qt4/Qt/qdom.h:class QDomNodeListPrivate;
qt4/Qt/qdom.h:class QDomNodeList;

Is #include <QDomNodeList> present?

 

Can you please paste the exact error message?

 


Andrey Fidrya, @zmeyc on twitter
Developer
Posts: 97
Registered: ‎07-17-2008
My Device: Not Specified

Re: QDomElement Class not loading in gold release

Thanks for reply.

 

 

XMLParsing worked fine in Beta3 with QDomElement and QDomNode, but in gold release at the time of compilation following error is displayed:

 

"fatal error: QDomElement: No such file or directory" and compilation terminates.

 

Also I am able to get the directory in the specified folder earlier as well but its not getting included in the program.

 

 

Thanks and regards,

Shubhangi

Developer
Posts: 1,524
Registered: ‎12-18-2012
My Device: Z30, Z10 LE, DevAlpha C, PlayBook

Re: QDomElement Class not loading in gold release

Adding

QT += xml

 To .pro file should fix this.


Andrey Fidrya, @zmeyc on twitter
Developer
Posts: 97
Registered: ‎07-17-2008
My Device: Not Specified

Re: QDomElement Class not loading in gold release

Hi  Zmay,

 

Thanks, it worked.

 

 

I am having another problem as well.

I will post it separately,

 

Thanks again.

 

 

Cheers,

Shubhangi