From kde-commits Mon Feb 28 23:26:25 2005 From: Brad Hards Date: Mon, 28 Feb 2005 23:26:25 +0000 To: kde-commits Subject: kdesupport/qca/examples/hashtest Message-Id: <20050228232625.3F37E16F7D () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=110963319212208 CVS commit by bhards: Update for Qt4 requirements M +4 -3 hashtest.cpp 1.8 M +1 -0 hashtest.pro 1.3 --- kdesupport/qca/examples/hashtest/hashtest.cpp #1.7:1.8 @@ -22,6 +22,5 @@ // QtCrypto/QtCrypto has the declarations for all of QCA #include -// needed for printf -#include +#include int main(int argc, char **argv) @@ -31,4 +30,6 @@ int main(int argc, char **argv) QCA::Initializer init; + QCoreApplication app(argc, argv); + // we use the first argument if provided, or // use "hello" if no arguments --- kdesupport/qca/examples/hashtest/hashtest.pro #1.2:1.3 @@ -1,4 +1,5 @@ TEMPLATE = app CONFIG += thread console +QT -= gui TARGET = hashtest