log4qt icon indicating copy to clipboard operation
log4qt copied to clipboard

Missing a variable in ''rollingfileappender.*'

Open LETARTARE opened this issue 8 years ago • 1 comments

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.

LETARTARE avatar Nov 23 '16 18:11 LETARTARE

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.

JoeyJoeJoeJrShabadoo avatar Nov 24 '16 12:11 JoeyJoeJoeJrShabadoo