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?
Forum Updated to NodeBB v4.3 + New Features

Is qmltocpp able to handle inheritance hierarchies?

Scheduled Pinned Locked Moved Unsolved Qt for MCUs
1 Posts 1 Posters 212 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 27 Jan 2025, 09:09 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

    1/1

    27 Jan 2025, 09:09

    • Login

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