[SOLVED]How to use QCA (Qt Cryptographic Architecture)
-
Hello
I want to use QCA (At Cryptographic Architecture) for hashing and encryption. CMakeList I use in my project.
I installed the rpm qca.
In my. Cpp file where I put # include <QtCrypto> I have the following error message: "No such file"
How can use with qca CMakeList?
-
Can you give me the name of libraries or the name of the path where they are installed to find them??
I've seen these libraries
/lib/.libcrypto.so.1.0.0d.hmac
/lib/.libcrypto.so.10.hmac
/lib/libcrypto.so.1.0.0d
/lib/libcrypto.so.10
/lib/libk5crypto.so.3
/lib/libk5crypto.so.3.1Is there the right??
-
I've used a CMake project some time ago and found "this introduction ":http://www.cs.swarthmore.edu/~adanner/tips/cmake.php very usefull.
I think @target_link_libraries@ is what you need.
Please let us know how you used it if successfull ;)
-
I've the solution. I'm able to use #include <QtCrypto/QtCrypto>.
What i do is to add in the directive INCLUDE_DIRECTORIES of my CMakeList the path /lib/ whitch contain the files above:
/lib/.libcrypto.so.1.0.0d.hmac
/lib/.libcrypto.so.10.hmac
/lib/libcrypto.so.1.0.0d
/lib/libcrypto.so.10
/lib/libk5crypto.so.3
/lib/libk5crypto.so.3.1Thanks for all