Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML plugin: how to export mixed C++ and QML content

QML plugin: how to export mixed C++ and QML content

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qmlpluginsdesignerqmltypesqtquick
1 Posts 1 Posters 417 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.
  • Morris83M Offline
    Morris83M Offline
    Morris83
    wrote on last edited by Morris83
    #1

    Hello everybody

    I am trying to write a QML plugin which exports a set of components. Some of them are C++, other are pure QML.

    I have run into this article, in which a new kind of qmltypes generation is explained.
    I find it very attractive, since it does not require further operations like before, when an explicit call to qmlplugindump.exe was required.

    However, this seems to be working for C++ custom components only. Is there a way to generate the content also for pure QML components?

    I have created a very basic example of the scenario on this github project

    As an extra question, I am looking also for a tutorial on how to properly include the exported components in QtDesigner (see OpenIssue #2 of the GitHub readme)

    Thank you!

    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