I am wondering if it's possible to get all context property names of specific QQmlContext.
So I can do something like:
QQmlContext *ctx = ...;
for (auto contextPropertyName: ctx->getPropertyNames()) {
qDebug() << contextPropertyName << ctx->contextProperty(contextPropertyName);
}
I achieved similar functionality for QObject's with obj->metaObject()->propertyCount() and then obj->metaObject()->property(i).
You can find your properties using
ctx->dynamicPropertyNames();