[Gammaray-commits] [KDAB/GammaRay] 33c7fb: Support dynamic QMetaObjects as used by QML too

Volker Krause volker.krause at kdab.com
Fri Apr 21 14:35:19 CEST 2017


  Branch: refs/heads/wip/dynamic-mo-support
  Home:   https://github.com/KDAB/GammaRay
  Commit: 33c7fb8257181b7b3deca29b563aaf8581c748da
      https://github.com/KDAB/GammaRay/commit/33c7fb8257181b7b3deca29b563aaf8581c748da
  Author: Volker Krause <volker.krause at kdab.com>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M core/metaobjectregistry.cpp
    M core/metaobjectregistry.h
    M core/tools/metaobjectbrowser/metaobjecttreemodel.cpp

  Log Message:
  -----------
  Support dynamic QMetaObjects as used by QML too

In order to do this, we need:
- lifetime tracking per QObject instance having such a meta object
- merging by name, as all instances have their own meta object

We do this by mapping to the "canonical meta object" (the first one we
ever saw), and by keeping a set of alive instance for this canonical meta
object.




More information about the Gammaray-commits mailing list