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

Posts: 828
Registered: ‎10-16-2012
My Device: Red Z10
My Carrier: Rogers

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

Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30
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

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