Fix logmanager.cpp to compile under MSCV for debug.
Properly convert QString to char * via toLain1() and data().
Add build support for Qt5 with MSVC 2010 and later.
Currently qdatetime.h is incompatible with MSVC. Adding -DNOMINMAX
solves this problem. Preprocessor definition was added to the *.pro
file. This defines NOMINMAX for ALL build configurations including
non-MSVC builds!