diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 1d6e30da..51e68716 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -10,9 +10,14 @@ * ============================================================ */ #include "application.hpp" +#include <spdlog/spdlog.h> int main(int argc, char **argv) { +#ifdef QT_DEBUG + spdlog::set_level(spdlog::level::debug); +#endif + // When loading QtWebEngine from a plugin, set Qt::AA_ShareOpenGLContexts using QCoreApplication::setAttribute QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts, true); |