Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Dynamically create QObject classes
Forum Updated to NodeBB v4.3 + New Features

Dynamically create QObject classes

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 2.5k Views 1 Watching
  • 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.
  • G Offline
    G Offline
    goertzenator
    wrote on last edited by
    #1

    I would like to create a QML plugin that dynamically creates QObject classes and registers them. I see some material in this area, but it is dated and I am wondering what the state of art is and if there are any good examples. I am fine with targeting Qt5 only if that makes things easier.

    The purpose of this plugin is to use Erlang for the application logic of a QML application. The Erlang side would provide a spec of the types including signals, slots, methods etc, and the plugin would register these types and forward all metacalls back to Erlang code.

    Thanks,
    Dan.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      TheDestroyer
      wrote on last edited by
      #2

      I suggest you read about object pools.

      http://en.wikipedia.org/wiki/Object_pool_pattern

      And then find some implementation to that.

      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