diff --git a/src/app/core/vapplication.cpp b/src/app/core/vapplication.cpp index 232ff2c15..9748ed96d 100644 --- a/src/app/core/vapplication.cpp +++ b/src/app/core/vapplication.cpp @@ -1979,7 +1979,14 @@ bool VApplication::SafeCopy(const QString &source, const QString &destination, Q //--------------------------------------------------------------------------------------------------------------------- void VApplication::StartLogging() { +#if (QT_VERSION < QT_VERSION_CHECK(5, 3, 0)) + // In Qt 5.2 need manualy enable debug information for categories. This work + // because Qt doesn't provide debug information for categories itself. And in this + // case will show our messages. Another situation with Qt 5.3 that has many debug + // messages itself. We don't need this information and can turn on later if need. + // But here Qt already show our debug messages without enabling. QLoggingCategory::setFilterRules("*.debug=true\n"); +#endif QDir logDir(LogDirPath()); if (logDir.exists() == false)