[SOLVED] Loading qca-pkcs112.dll plugin into project



  • I want to load qca-pkcs112.dll plugin to my project, this dll is located in my project's root folder under crypto folder however my code fails to load it :-(

    QPluginLoader loader("~\crypto\qca-pkcs112.dll");
    loader.load();
    if(!loader.isLoaded())
    {
    msg2.setText(loader.errorString());
    msg2.setStandardButtons(QMessageBox::Ok);
    msg2.exec();
    }
    else
    {
    QObject *plugin = loader.instance();
    }

    loader.errorString returns "The shared library was not found."


Log in to reply
 

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