CVS commit by bhards: Updates for Qt4 M +2 -3 randomtest.cpp 1.4 M +1 -0 randomtest.pro 1.2 --- kdesupport/qca/examples/randomtest/randomtest.cpp #1.3:1.4 @@ -27,11 +27,10 @@ int main(int argc, char **argv) { - Q_UNUSED( argv ); - Q_UNUSED( argc ); - // the Initializer object sets things up, and // also does cleanup when it goes out of scope QCA::Initializer init; + QCoreApplication app(argc, argv); + int randInt; // This is the standard way to generate a random integer. --- kdesupport/qca/examples/randomtest/randomtest.pro #1.1:1.2 @@ -1,4 +1,5 @@ TEMPLATE = app CONFIG += thread console +QT -= gui TARGET = randomtest