log4qt
log4qt copied to clipboard
Missing a variable in ''rollingfileappender.*'
hello, I just compiled this version with Qt5.6.1-1. The moc.exe compiler reports an error :
src\log4qt\rollingfileappender.h:80: Warning: Property declaration maxFileSize has no READ accessor function or associated MEMBER variable. The property will be invalid. Abandonment of the construction ...
If I restore the old files 'rollingfileappender. *' The compilation is correct.
Hi LETARTARE, I assume that this "maxFileSize" property is a remainder from the far past. I don't really know what it is good for. I'm using the "maximumFileSize" property instead and simply ignore the moc error (which is actually a warning only). Maybe this old property should be removed from rollingfileappender.h. I'm curious what version you restored your files to, because as far as I can see this problematic property has always been there, even in the old sourceforge repo.