diff -r b5d63d5fc252 -r a469c0e6e7fb example/smfclientapp/main.cpp --- a/example/smfclientapp/main.cpp Mon Jun 07 11:43:45 2010 +0100 +++ b/example/smfclientapp/main.cpp Wed Jun 23 19:51:49 2010 +0530 @@ -34,9 +34,42 @@ #include #include +void debugOutput(QtMsgType type, const char *msg) + { + QFile logFile("c:\\data\\SmfLog.txt"); + Q_ASSERT(logFile.open( QIODevice::WriteOnly | QIODevice::Text | QIODevice::Append )); + QTextStream stream(&logFile); + + switch (type) + { + case QtDebugMsg: + stream<