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