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
    code
    @

    #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 +=
    widgets
    CONFIG += crypto

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

    SOURCES +=
    main.cpp

    @

    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

    Hi,

    Have at look at this "thread":http://qt-project.org/forums/viewthread/30218/


Log in to reply
 

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