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
Regular Contributor
erAjayGoyal
Posts: 97
Registered: ‎04-19-2012
My Device: BB Torch-9800
My Carrier: *

How to call a QString variable into qml file in Blackberry 10 cascades?

Hi All,

 

I want to assign my function return value to QString and then want to use that variable into qml file.

Any sample would be helpful. 

Thanks

 

 

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

Re: How to call a QString variable into qml file in Blackberry 10 cascades?

erAjayGoyal,

 

Is your development strategy to write simple one line questions in this forum asking for samples? :smileywink:

 

Please read this,

 

http://developer.blackberry.com/cascades/documentation/dev/integrating_cpp_qml/

 

Try writing some code first, experimenting a little, then posting here with specific problems you encounter.

 


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.
Regular Contributor
erAjayGoyal
Posts: 97
Registered: ‎04-19-2012
My Device: BB Torch-9800
My Carrier: *

Re: How to call a QString variable into qml file in Blackberry 10 cascades?

Thanks for reply,

Soon i will posted my code here for solution, and will keep in mind for future

Please use plain text.
Regular Contributor
erAjayGoyal
Posts: 97
Registered: ‎04-19-2012
My Device: BB Torch-9800
My Carrier: *

Re: How to call a QString variable into qml file in Blackberry 10 cascades?

Thanks for ur valuable reply, finally solved out the problem.

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

Re: How to call a QString variable into qml file in Blackberry 10 cascades?

You're welcome, in this forum if someone's helped you you can show some appreciation by clicking on that thumbs-up button next to the post.

 

If your original post has been answered please also close it off by accepting the post that best answers the question as the solution.  This way people coming along later should be able to do a simple search for similar questions and find one with an answer.

 


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.