I detected the issue during configuration of the "threshold" property of an appender (RollingLogAppender). If I want to set the "threshold" property then the Debug-output of Log4Qt said:
"7141 [] ERROR Log4Qt::Factory - Cannot convert to type 'Level' for property 'threshold' on object of class 'Log4Qt::RollingFileAppender' (Log4Qt::Factory::CONFIGURATOR_UNKNOWN_TYPE_ERROR, 29)".
Even though the Log4Qt::Level is registered via "qRegisterMetaType".
The issue is found. You have to change the Q_PROPERTY statement in the appenderskeleton.h file from:
Q_PROPERTY(Level threshold READ threshold WRITE setThreshold)
to
Q_PROPERTY(Log4Qt::Level threshold READ threshold WRITE setThreshold).
Backgroundinfo: The Level is registered in the meta-object stuff of Qt with the fully qualified name Log4Qt::Level but with Q_PROPERTY only "Level" is specified.