127 Commits

Author SHA1 Message Date
Ivan Romanov
d598c689b7 cmake: no install target in developer mode 2014-09-28 21:14:26 +06:00
Ivan Romanov
ed4a05f674 qcatool: use native dir separators for output on console 2014-09-24 18:03:37 +06:00
Ivan Romanov
4b8e2214cd added new functiion pluginPaths
Retrieve plugin paths. It consists of:
1. QCA_PLUGIN_PATH environment if set.
2. QCoreApplication::libraryPaths() .
3. Directory where plugins were installed.

QCA_PLUGIN_PATH is paths list like PATH or QT_PLUGIN_PATH.
It uses system path separator. ";" on Windows and ":" on Unix.

Also qcatool now uses this function.
2014-09-24 17:47:35 +06:00
Ivan Romanov
2950458c77 qcatool: prevent crash when only options on command line without any commands 2014-09-23 18:32:25 +06:00
Ivan Romanov
fbdf57f843 cmake: install .PDB files
On Windows when compiling with Visual Studio will be produced special
.pdb files for debuggins purposes. It must be put next to target
runtime (.dll or .exe) file.
2014-02-03 02:05:54 +06:00
Ivan Romanov
9504d1c8e0 cmake: put all runtime to bin when compiling
The most it is need for windows where no rpath and all dll's must be
in the same dir (or in PATH environment)
2014-02-02 02:35:55 +06:00
Ivan Romanov
e2ff4f0a61 new cmake option DEVELOPER_MODE
DEVELOPER_MODE is designed for various developer issues. Now this mode
forced to use plugins only from build tree. To avoid excess plugins
from system QCA. Also now not need to set QT_PLUGIN_PATH to use plugins
from QCA build tree.
2014-01-07 04:47:18 +06:00
Ivan Romanov
6bf4e5213e Define QCA version only in cmake rules
Added new generated public include qca_version.h.
Also add new version DEFINES
  QCA_MAJOR_VERSION
  QCA_MINOR_VERSION
  QCA_PATCH_VERSION
  QCA_VERSION_STR
  QCA_VERSION_CHECK(major, minor, patch)

and new version functions
  const char *qcaVersionStr()
  int qcaMajorVersion()
  int qcaMinorVersion()
  int qcaPatchVersion()
2014-01-03 14:37:00 +06: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
dc5af5c374 fixed mozcerts building rules
Use QCA_SUFFIX when building mozcerts.
Place mozcerts binary in ./bin after linking.
2014-01-01 05:47:55 +06:00
Ivan Romanov
094929f903 renamed QCA_LIB_SUFFIX to QCA_SUFFIX
also anothers cmake optimizations
2013-10-02 22:49:27 +06:00
Ivan Romanov
013d6846fc oops, some changes for previous commit
forgot fix qcatool usage
forgot rename qcatool manpage
2013-10-02 22:23:33 +06:00
Ivan Romanov
49f312505c no digit postffix in qcatool2 name 2013-10-02 22:12:32 +06:00
Ivan Romanov
f55fab268d cmake: some optimization with binary tree
plugins now is in lib/plugins/crypto
qcatool now is in bin
2013-10-01 08:01:50 +06:00
Ivan Romanov
034f873f68 use Qt5 C++ flags for examples, tools and unittests 2013-08-30 20:22:59 +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
Ivan Romanov
44c7fbb74f install qca to prefix or qt_prefix
Added option QCA_INSTALL_IN_QT_PREFIX to provide a way to choose
default prefix for installing qca. By default is ON.
Also added a cache vars.
  QCA_PREFIX_INSTALL_DIR
  QCA_PLUGINS_INSTALL_DIR
  QCA_BINARY_INSTALL_DIR
  QCA_LIBRARY_INSTALL_DIR
  QCA_FEATURE_INSTALL_DIR
  QCA_INCLUDE_INSTALL_DIR
  QCA_PRIVATE_INCLUDE_INSTALL_DIR
  QCA_DOC_INSTALL_DIR
  QCA_MAN_INSTALL_DIR
2013-08-24 21:26:40 +06:00
Ivan Romanov
e0cdd5db40 Revert "install qca to prefix or qt_prefix"
This reverts commit f5cb5b04dcb37ab4a62943c19646bcfa3d7d3b23.
2013-07-25 14:23:16 +06:00
Ivan Romanov
f5cb5b04dc install qca to prefix or qt_prefix
Added option QCA_INSTALL_IN_QT_PREFIX to provide a way to choose
default prefix for installing qca. By default is ON.
Also added a cache vars.
  QCA_PREFIX_INSTALL_DIR
  QCA_PLUGINS_INSTALL_DIR
  QCA_BINARY_INSTALL_DIR
  QCA_LIBRARY_INSTALL_DIR
  QCA_FEATURE_INSTALL_DIR
  QCA_INCLUDE_INSTALL_DIR
  QCA_PRIVATE_INCLUDE_INSTALL_DIR
  QCA_DOC_INSTALL_DIR
  QCA_MAN_INSTALL_DIR
2013-07-24 22:08:12 +06:00
David Faure
57ce5c3bc9 Port to Qt5 by Ivan Romanov <drizt@land.ru>
svn path=/trunk/kdesupport/qca/; revision=1347515
2013-04-02 11:00:43 +00:00
Justin Karneges
1df0a8e5d9 fix return value warnings
svn path=/trunk/kdesupport/qca/; revision=1201472
2010-11-27 20:38:00 +00:00
Justin Karneges
b982fe98f0 prepare for 2.0.3 release
svn path=/trunk/kdesupport/qca/; revision=1201470
2010-11-27 20:34:37 +00:00
Bernhard Rosenkraenzer
07af05d41e Don't link qcatool to QtGui
svn path=/trunk/kdesupport/qca/; revision=1029338
2009-09-29 15:11:47 +00:00
Brad Hards
d6774e9a57 Display the list of capabilities of each provider for the "plugins" command, if we're in debug mode.
svn path=/trunk/kdesupport/qca/; revision=1024107
2009-09-16 02:51:43 +00:00
Justin Karneges
f4bec75e39 really set version to 2.0.2
svn path=/trunk/kdesupport/qca/; revision=961313
2009-04-29 21:43:35 +00:00
Justin Karneges
ad9b7e2ec4 confapp.pri is now the generated file instead of confapp_unix/win.pri
app.pri is now the non-generated file instead of confapp.pri

svn path=/trunk/kdesupport/qca/; revision=958863
2009-04-24 21:12:15 +00:00
Justin Karneges
a7fc09ec5a centralize qca inclusion to crypto.prf in the base dir
svn path=/trunk/kdesupport/qca/; revision=815977
2008-06-02 22:35:07 +00:00
Albert Astals Cid
ece6dbfe27 save some unnecessary copies
svn path=/trunk/kdesupport/qca/; revision=815911
2008-06-02 20:20:37 +00:00
Justin Karneges
3722d45473 ability to clear a string entry
svn path=/trunk/kdesupport/qca/; revision=812525
2008-05-25 17:11:37 +00:00
Justin Karneges
ac119bc046 update qca version to 2.0.1
update qcatool version to 2.0.1

svn path=/trunk/kdesupport/qca/; revision=810570
2008-05-21 00:30:15 +00:00
Justin Karneges
3fba35bfcf respect blank lines in diagnostic text
svn path=/trunk/kdesupport/qca/; revision=810529
2008-05-20 22:24:18 +00:00
Justin Karneges
ea5acb9ec5 better support for displaying pgp keys
svn path=/trunk/kdesupport/qca/; revision=800357
2008-04-23 23:59:05 +00:00
Rolf Eike Beer
6d8e902ce9 Add const to logging functions to shut up newer gcc versions
svn path=/trunk/kdesupport/qca/; revision=728492
2007-10-23 13:11:38 +00:00
Brad Hards
b70f896666 Rename the qcatool executable, to match qmake/qconf builds.
svn path=/trunk/kdesupport/qca/; revision=702800
2007-08-21 07:43:42 +00:00
Justin Karneges
79ca34e298 display cert fingerprints
svn path=/trunk/kdesupport/qca/; revision=702423
2007-08-20 15:58:28 +00:00
Justin Karneges
a42edc8d97 check for pem/der rather than guess
svn path=/trunk/kdesupport/qca/; revision=702408
2007-08-20 15:16:08 +00:00
Justin Karneges
e31ddc9c7d prompting for unavailable entries
svn path=/trunk/kdesupport/qca/; revision=684063
2007-07-06 01:47:35 +00:00
Justin Karneges
87c0c1c64e use getChar
svn path=/trunk/kdesupport/qca/; revision=678666
2007-06-21 22:38:43 +00:00
Justin Karneges
d39b4a033f only wait if store:obj is passed
svn path=/trunk/kdesupport/qca/; revision=677774
2007-06-19 21:39:27 +00:00
Justin Karneges
6e6401b0d3 follow ConstraintType api changes
svn path=/trunk/kdesupport/qca/; revision=675730
2007-06-14 21:32:04 +00:00
Christian Ehrlicher
eaab196763 compile++
svn path=/trunk/kdesupport/qca/; revision=673044
2007-06-08 20:40:22 +00:00
Justin Karneges
385fac08e3 getters
svn path=/trunk/kdesupport/qca/; revision=672757
2007-06-08 03:47:24 +00:00
Justin Karneges
5a97d03b5b CertificateInfoType is now a class, average uses are still API compatible
svn path=/trunk/kdesupport/qca/; revision=672697
2007-06-07 21:31:12 +00:00
Justin Karneges
b7139b89b1 executable is called qcatool2 now
svn path=/trunk/kdesupport/qca/; revision=669910
2007-05-30 19:15:29 +00:00
Justin Karneges
478f48751e finish pkcs11 configurator
svn path=/trunk/kdesupport/qca/; revision=665423
2007-05-16 21:46:00 +00:00
Justin Karneges
93f0e9143a provider configurator, partial work on a pkcs#11-specific configurator
svn path=/trunk/kdesupport/qca/; revision=665147
2007-05-16 01:04:15 +00:00
Justin Karneges
98ae96b995 qcatool is 1.0
svn path=/trunk/kdesupport/qca/; revision=664920
2007-05-15 06:52:55 +00:00
Justin Karneges
8236a76a27 check for features as needed
svn path=/trunk/kdesupport/qca/; revision=664919
2007-05-15 06:47:19 +00:00
Justin Karneges
0cf76322e4 cleanup exportcerts
svn path=/trunk/kdesupport/qca/; revision=664900
2007-05-15 05:55:19 +00:00