MEONMedical / Log4Qt

Log4Qt - Logging for the Qt cross-platform application framework
Apache License 2.0
580 stars 234 forks source link

fix the log file path error when using system environment variables in log.conf #75

Open siyuhong opened 2 years ago

siyuhong commented 2 years ago

system : ubuntu20 compiler : x86_64-linux-gnu g++ compiler version : 9.4.0 build error : undefined reference to 'Log4Qt::AppenderAttachable::~AppenderAttachable()'

andibacher commented 2 years ago

Hallo, I can not reproduce this on Ubuntu 20.04 and gcc 9.4. It should not be necessary to define a empty destruction in MainThreadAppender. Any more details why this fails for you?

siyuhong commented 2 years ago

This problem will occur when I inherit the MainThreadAppender Class to implement a custom Adapter Class.