Hi!
qPrintable in qt4 is good for logging, but I think there is a better
way to do it.
Let's extend SIM logging API with function SIM::log(level, const QString&)
So, instead of
log(level, "Here are debug strings %s and %s",
debug_str1.latin1(),
debug_str2.latin1())
we can use
log(level, QString("Here are debug strings %1 and %2")
.arg(debug_str1).arg(debug_str2));
And do not bother about encodings at all.
_______________________________________________
sim-im-main mailing list
[email protected]
https://mailman.dg.net.ua/listinfo/sim-im-main