fixed for QT4/5: refs #28

master
Marc Wäckerlin 11 years ago
parent 635d466c1c
commit 9402374d84
  1. 5
      doc/examples/suisse-id-demo.cxx

@ -10,6 +10,11 @@
#include <QtNetwork/QSslCertificate> #include <QtNetwork/QSslCertificate>
#include <QtCore/QDateTime> #include <QtCore/QDateTime>
#include <QtCore/QStringList>
void show(const QString& s, const std::string& p="item: ") {
std::cout<<p<<QString(s.toUtf8()).toStdString()<<std::endl;
}
void show(const QStringList& sl, const std::string& p="item: ") { void show(const QStringList& sl, const std::string& p="item: ") {
for (QStringList::const_iterator s(sl.begin()); s!=sl.end(); ++s) for (QStringList::const_iterator s(sl.begin()); s!=sl.end(); ++s)

Loading…
Cancel
Save