view TestFramework.cpp @ 114:d4e337567960

Add some debug statements and fix a bug in SQL execution.
author Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no>
date Tue, 03 May 2016 02:26:39 +0200
parents 8136057988bc
children
line wrap: on
line source

#include <QtCore/QDateTime>

std::ostream& operator<<(std::ostream& out, const QString& rhs)
{
  return out << rhs.toStdString();
}

std::ostream& operator<<(std::ostream& out, const QDateTime& rhs)
{
  return out << rhs.toString();
}

std::ostream& operator<<(std::ostream& out, const QByteArray& rhs)
{
  QByteArray b64 = rhs.toBase64();
  return out << b64.constData();
}