PDA

View Full Version : threat with QtCrypto



ptich
30th December 2015, 16:47
I have problem when compiling my program, where i can get QtCrypto for my system?

for Google bot
fatal error: QtCrypto: No such file or directory
QtCrypto: No such file or directory
#include <QtCrypto>

System

uname -a
Linux 3.13.0-66-generic #108-Ubuntu SMP Wed Oct 7 15:21:40 UTC 2015 i686 i686 i686 GNU/Linux

Use QT


qmake -v
QMake version 3.0
Using Qt version 5.2.1 in /usr/lib/i386-linux-gnu

Program


mainwindow.h:6:20: fatal error: QtCrypto: No such file or directory
#include <QtCrypto>
^
compilation terminated.
make: *** [main.o] Error 1

d_stranz
30th December 2015, 19:09
I do not think QtCrypto is distributed with Qt5. It was available for Qt4, but I am pretty sure it has been dropped. There is a port to Qt5, which you can get from here. (https://www.archlinux.org/packages/extra/i686/qca-qt5/) JP Naude has written a tutorial (https://github.com/JPNaude/dev_notes/wiki/Using-the-Qt-Cryptographic-Architecture-with-Qt5) on how to build and use it.