Program exit when it reached the line QCA::Initializer

  • Hi,
    I am trying some decryption using QCA. But Qt says "The program has unexpectedly finished." when it reached QCA::Initializer

    #include <QApplication>
    #include <QtCrypto>
    #include <QDebug>

    int main(int argc, char *argv[])

    QApplication *gniyp = new QApplication(argc,argv);
    qDebug()<<"B4 init";
    QCA::Initializer init;
    qDebug()<<"Aftr init";
    return gniyp->exec&#40;&#41;;



    Pro file
    QT +=
    CONFIG += crypto

    INCLUDEPATH += /usr/include/QtCrypto/
    LIBS += -L$$quote(qca-2.0.3/lib) -lqca

    SOURCES +=


    I am using ubuntu 13.04 with Qt Creator 2.7.0 based on Qt 5.0.1

    Please Help
    Thank You
    Vishnu V

  • Lifetime Qt Champion


    Have at look at this "thread":

Log in to reply

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