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
Contributor
fazlanzone7
Posts: 26
Registered: ‎11-10-2013
My Device: Z10

Does cascades framework support "QScriptEngine"

Hi,

 

I need to know whether the cascades framework in Blackberry10, include QScriptEngine. When I include the header file for QScriptEngine, it says unresolved inclusion. But if I declare an object of type QScriptEngine, the compiler doesn't throw an error.

 

Also the developer website doesn't include any documentation for the QScriptEngine. 

Please use plain text.
Developer
BBSJdev
Posts: 6,116
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30

Re: Does cascades framework support "QScriptEngine"

[ Edited ]

All the headers are definately there so I don't see why not, how are you including it?

 

Try referencing it as such,

#include <QtCore/QScriptEngine>

 

Seems no include is neccessary.

 

There is a mention under security...

 

http://developer.blackberry.com/native/documentation/cascades/best_practices/security/#scriptinjecti...


If you've been helped click on Like Button, if you've been saved buy the app. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
Please use plain text.