32 Commits

Author SHA1 Message Date
Tobias Junghans
2c3992f075 Add Qt 6 build support
The Core5Compat module is still required for QTextCodec and some
difficult remaining QRegExp -> QRegularExpression migrations.
2021-05-29 22:28:27 +00:00
Tobias Junghans
91ff0aa0db Use new QAbstractSocket::errorOccurred() signal
It's in Qt 5.15 already.
2021-05-29 22:28:27 +00:00
Albert Astals Cid
f62a8ee8f7 Run clang-format
find . \( -name "*.cpp" -or -name "*.h"  -or -name "*.c"  -or -name "*.cc" \) -exec clang-format -i {} \;

If you reached this file doing a git blame, please see README.clang-format (added 2 commits in the future of this one)
2020-09-07 02:13:47 +02:00
Albert Astals Cid
ad1b9e1b07 Enable QT_NO_CAST_FROM_ASCII 2020-02-15 10:21:12 +00:00
Albert Astals Cid
8ee19a09e2 Add a few modernize clang-tidy checks 2020-01-30 17:37:15 +01:00
Albert Astals Cid
7df8f7e215 Move to the new connect syntax
QProcess::errorOccurred is since 5.6 so increase min version
2020-01-29 08:34:13 +00:00
Albert Astals Cid
f9fc3f356f remove unused variables 2020-01-24 10:46:27 +01:00
Albert Astals Cid
dbef5838d4 Enable QT_NO_SIGNALS_SLOTS_KEYWORDS 2020-01-22 19:31:28 +01:00
Albert Astals Cid
d71f4c279b Drop Qt4 support 2020-01-19 17:19:23 +01:00
Ivan Romanov
6d690c0070 Build static QCA
Added new cmake variable SHARED_LIBRARY. By default is on.
When it is off QCA library, plugins, tools, examples and unittests
will be built as static. Also if is used static Qt plugins will be
built as static. Tested with Qt4.
2014-01-02 03:50:18 +06:00
Ivan Romanov
9462469bb5 dropped bat, qconf and qmake rules
Now cmake rules fully works.
2013-08-26 00:55:17 +06:00
Ivan Romanov
13d0dc5e6d added cmake variable QCA_LIB_SUFFIX
QCA_LIB_SUFFIX intended to replace workaround
3 major version. For building for Qt5 can be used
-DQCA_LIB_SUFFIX=qt5 for example. Result will be
named libqca2-qt5.so.2.0.3 library for Linux.
Also this suffix will be applied for qca2 pkg config file,
qcatool2 binary and qcatool2 manpage.

I hope that is a good way to resolve the building conflict
against qt4 and qt5.
2013-08-26 00:55:01 +06:00
Justin Karneges
b18050cd71 use qca for layer tracking
svn path=/trunk/kdesupport/qca/; revision=684050
2007-07-06 00:38:53 +00:00
Justin Karneges
fab528b69b use specifyEncoded properly
svn path=/trunk/kdesupport/qca/; revision=683026
2007-07-03 23:27:37 +00:00
Justin Karneges
5c6439a6c1 by default, all unittests/examples are console without a mac.app bundle
svn path=/trunk/kdesupport/qca/; revision=656265
2007-04-20 20:08:47 +00:00
Brad Hards
45b7cb1989 Minor cleanups, mostly from Krazy warnings.
svn path=/trunk/kdesupport/qca/; revision=654941
2007-04-17 12:01:26 +00:00
Dirk Mueller
55da2a0754 compile
svn path=/trunk/kdesupport/qca/; revision=654041
2007-04-14 22:11:09 +00:00
Laurent Montel
c0e8f78b75 Now all example compiles
svn path=/trunk/kdesupport/qca/; revision=591417
2006-10-02 11:33:35 +00:00
Laurent Montel
48157e0d49 Merge my patch and duncan patch
CCMAIL: duncan@kde.org

Now we can compile qca with cmake
Need to fix plugins compile and unitest and other small error.

svn path=/trunk/kdesupport/qca/; revision=591302
2006-10-02 09:59:51 +00:00
Brad Hards
dfb30910fb The missing space in the #include line seemed to cause
problems with qmake on Windows.

svn path=/trunk/kdesupport/qca/; revision=545223
2006-05-27 07:26:53 +00:00
Brad Hards
b2aedd5a71 More fixes for issues reported by ICC.
Covers conversion to lower precision value, and
unused code/variable.

I didn't remove the unused function from the botan
part - just noted it.

svn path=/trunk/kdesupport/qca/; revision=535288
2006-04-29 06:45:36 +00:00
Brad Hards
f27cd312e1 Just switch to using PrivateKey, instead of RSAPrivateKey.
svn path=/trunk/kdesupport/qca/; revision=524787
2006-03-31 09:14:58 +00:00
Brad Hards
a17d5b7f0c Update to use new cert/key.
svn path=/trunk/kdesupport/qca/; revision=524330
2006-03-30 10:19:46 +00:00
Brad Hards
56cd7a5285 Fix use of compatibility SIGNAL.
Also switch to use of qDebug() everywhere, instead of
printf().

svn path=/trunk/kdesupport/qca/; revision=520488
2006-03-20 03:19:06 +00:00
Brad Hards
709398ef17 Complete conversion of TLS/SSL server example to
Qt4.

svn path=/trunk/kdesupport/qca/; revision=520483
2006-03-20 02:54:03 +00:00
Brad Hards
1ee33d741d Initial port of the SSL server example to QCA2. This still
has a little bit of Q3Support code, which I'll fix soon.

svn path=/trunk/kdesupport/qca/; revision=520189
2006-03-19 11:26:10 +00:00
Brad Hards
789799583a Big examples update. New examples for showing HMAC, and changes to
show the two ways to do a basic hash. Also, an example of some of the
options for working with providers. More comments to explain everything.

This also adds copyright notices for everything, and notes on the
pre-QCA2 examples.

svn path=/trunk/kdesupport/qca/; revision=374181
2004-12-30 09:32:01 +00:00
Justin Karneges
bc3ffdfdc2 report leftover bytes via member function instead of signal
svn path=/trunk/kdesupport/qca/; revision=258321
2003-10-12 16:16:02 +00:00
Justin Karneges
85583e9c2e TLS shutdown handling
svn path=/trunk/kdesupport/qca/; revision=257828
2003-10-10 20:04:50 +00:00
Justin Karneges
59fe640329 work under windows
svn path=/trunk/kdesupport/qca/; revision=257752
2003-10-10 14:10:02 +00:00
Justin Karneges
231ec39c5b support for tracking written TLS bytes
svn path=/trunk/kdesupport/qca/; revision=257147
2003-10-08 02:26:11 +00:00
Justin Karneges
471671d4f8 examples!
svn path=/trunk/kdesupport/qca/; revision=251709
2003-09-17 00:53:41 +00:00