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
fredoust
Posts: 75
Registered: ‎09-12-2012
My Device: Looking for a BB10 testing device

Create custom QML component from a file in C++

Does someone know if is it possible to create a custom QML component (from a qml file) in C++, in order to add it in a container ?
 
Like this :
 
container->add(Container::create()
    .background(image)
    .preferredSize(200,200));
 
but with my own QML component.
I can't find any way to do that.
 
Thanks.
---------
Mobile developer freelance - QtQuick - Cascades - WP7 - Android
My works : http://fdelgado.fr