Logging from a different thread

14 views
Skip to first unread message

mocs...@gmail.com

unread,
May 15, 2015, 6:42:34 AM5/15/15
to qtil...@googlegroups.com
Hi all,
I'm trying to use the logging component in my application.
Everything works fine if I log from the main thread, but if I log from another thread, like:

    LOG_TRACE ("Worker::init");

nothing is actually being logged, and I see on the debugger output window:

QObject::connect: Cannot queue arguments of type 'Logger::MessageType'
(Make sure 'Logger::MessageType' is registered using qRegisterMetaType().)

Any hints?

Thanks in advance
Massimo
Reply all
Reply to author
Forward
0 new messages