Important: Please read the Qt Code of Conduct -

QML Designer using custom c++ QuickItem

  • I have a c++ class that inherits from QuickItem and then I register this class with QML using qmlRegisterType(). This works great during runtime in my application, however in the QML designer the item does not visibly use any of the geometry properties. It just stretches the view to the size of the window. This is an issue as I would like to size children using this item and keep the app looking the same in the QML Designer and the running app.

Log in to reply