On Wednesday 12 November 2008, Pradeepto Bhattacharya wrote: >  using namespace KMail; >   > +QMap *KMailICalIfaceImpl::mSubResourceUINamesMap = new QMap; This is not portable (and adds noise to memory-leak detectors), you should use K_GLOBAL_STATIC instead (and then the static is file-static, not defined in the class header) -- David Faure, faure@kde.org, dfaure@kdab.net KDE/KOffice developer, Qt consultancy projects Klarälvdalens Datakonsult AB, Platform-independent software solutions