Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for MCUs
  4. Is qmltocpp able to handle inheritance hierarchies?
Qt 6.11 is out! See what's new in the release blog

Is qmltocpp able to handle inheritance hierarchies?

Scheduled Pinned Locked Moved Unsolved Qt for MCUs
1 Posts 1 Posters 636 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Andi Schacherbauer
    wrote on last edited by
    #1

    Hi,
    I can use a custom C++ type in Qml if it derives directly from Qul::Object. What I can’t do right now is to have one intermediate class in between. Let’s say I have class A that derives from Qul::Object. A defines virtual functions. Class B derives from A. Now I get an error from qmltocpp that it does not know about A. A is the top level item in the generated qml file.

    Thx
    Andi

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved