devbean / log4qt

Logger for Qt.
125 stars 95 forks source link

Missing a variable in ''rollingfileappender.*' #6

Open LETARTARE opened 7 years ago

LETARTARE commented 7 years ago

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.

JoeyJoeJoeJrShabadoo commented 7 years ago

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.