Skip to content

v1.2.2

Compare
Choose a tag to compare
@OlivierLDff OlivierLDff released this 15 Jul 16:43
· 23 commits to master since this release

➖ Remove spdlog dependency
⬆️ Qaterial v1.4.5

💥 spdlog removal might break your app, especially logging in the ui.
To log in the hotreload your need to use static method : qaterial::HotReload::log(QtMsgType type, const QMessageLogContext& context, const QString& msg)
It has the same signature as qInstallMessageHandler so it is easy for you to log.

#include <Qaterial/HotReload/HotReload.hpp>
#include <QtCore/QtGlobal>
int main(int argc, char* argv[])
{
  qInstallMessageHandler(&qaterial::HotReload::log);
  // ...
}