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

List:       kde-commits
Subject:    kdesupport/qca/examples/hashtest
From:       Brad Hards <bradh () frogmouth ! net>
Date:       2005-02-28 23:26:25
Message-ID: 20050228232625.3F37E16F7D () office ! kde ! org
[Download RAW message or body]

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 <QtCrypto>
-// needed for printf
-#include<stdio.h>
+#include <stdio.h>
 
 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
 


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

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