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: 824
Registered: ‎10-16-2012
My Device: Red Z10

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

Retired
Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30

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

Did this answer your question? Please accept this post as the solution.
Found a bug? Report it to the Developer Issue Tracker