Development/Tutorials/Collaboration/Attica/Tips

< Development‎ | Tutorials
Revision as of 17:26, 17 November 2009 by Frederik.gladhorn (talk | contribs) (Created page with '= Debugging Attica = In <code>attica/lib/atticabasejob.cpp</code> you can enable the debug output of all XML the server sends. Simply add the qDebug() to the dataFinished functi...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Debugging Attica

In attica/lib/atticabasejob.cpp you can enable the debug output of all XML the server sends. Simply add the qDebug() to the dataFinished function:

void BaseJob::dataFinished() {

   if (d->m_reply->error() == QNetworkReply::NoError) {
       QByteArray data = d->m_reply->readAll();
       qDebug() << data;


Content is available under Creative Commons License SA 4.0 unless otherwise noted.