i) indeed, with DirectConnection the call will be executed in the wrong thread. Not good
ii) you have to use qRegisterMetaType.
Probably as
(i.e. you have to include the namespace/class name, I think).Qt Code:
qRegisterMetaType<Log::LogLevel>("Log::LogLevel");To copy to clipboard, switch view to plain text mode
If this does not fix it:
Could you be more elaborate on what "won't work" means?
HTH
Bookmarks