[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesupport/qca/examples/randomtest
From:       Brad Hards <bradh () frogmouth ! net>
Date:       2005-02-28 23:54:17
Message-ID: 20050228235417.C00FD16F7D () office ! kde ! org
[Download RAW message or body]

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
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic