--- src/app/application.cpp 2017-11-22 00:27:07.000000000 +0100 +++ src/app/application.cpp 2017-11-22 14:14:11.317317738 +0100 @@ -105,7 +105,9 @@ , m_running(false) , m_shutdownAct(ShutdownDialogAction::Exit) , m_commandLineArgs(parseCommandLine(this->arguments())) +#ifndef DISABLE_WEBUI , m_webui(nullptr) +#endif { qRegisterMetaType("Log::Msg");