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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
Trusted Contributor
slashkyle
Posts: 193
Registered: ‎10-16-2012
My Carrier: Telus

Associate with Foreign Window QML

[ Edited ]

In QML how would I set my foreign window to display the camera viewfinder.

 

.... I think I mis-understood the concept and that it can't all be done in QML

Please use plain text.
BlackBerry Development Advisor
PBernhardt
Posts: 200
Registered: ‎12-16-2008
My Carrier: Bell

Re: Associate with Foreign Window QML

Well, you can't build a foreign window control and display the camera viewfinder in QML. You can do that in C/C++ though: https://github.com/blackberry/Cascades-Community-Samples/tree/master/HelloCamera

 

If you want to use the Qt Cascades Camera API, you can set that up in QML: https://github.com/blackberry/Cascades-Samples/tree/master/photobomber. Then you don't need to worry about your own Foreign Window Control.

Paul Bernhardt
Application Development Consultant
BlackBerry
@PBernhardt
Please use plain text.