QtCrypto in Qt 5.1

  • Hi,

    I'm currently migrating my qt4.8 project to qt5.1 and i'm using the qtCrypto library. However, i got the following compilation error :

    @fatal error: QtCrypto/QtCrypto: No such file or directory@

    Is QtCrypto is still supported in qt5 ? Is there something to do like alternative ?


  • Hello, ~hisoft

    Afaiu, QtCrypto is about QCA (Qt Cryptographic Arch). Then, you must be 100% sure that you have corresponding headers loaded like that:
    LIBS += -lqca
    INCLUDEPATH += /path/to/headers
    CONFIG += crypto

  • Indeed, i had made a mistake in my include path.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.