Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QCA-GnuGP tutorials, samples

QCA-GnuGP tutorials, samples

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 983 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    antonio
    wrote on last edited by
    #1

    I have compiled qca-gnupg-2.0.0-beta3 and copied the dll's in QTDIR\plugins\crypto and this is my code to test the library.
    @
    // QtCrypto has the declarations for all of QCA
    #include <QtCrypto>

    #include <QCoreApplication>
    #include <QDebug>

    int main(int argc, char **argv)
    {
    QCoreApplication app(argc, argv);

        // the Initializer object sets things up, and
        // also does cleanup when it goes out of scope
        QCA::Initializer init;
    

    qDebug() << "after here, fails";

        // must always check that an algorithm is supported before using it
        if( !QCA::isSupported("openpgp") ) {
                qDebug() << "openpgp not supported!\n";
        } else {
    

    qDebug() << "openpgp supported!\n";
    }

        return 0;
    

    }
    @

    When I compiled my code, all it's fine, but at runtime, fails.

    There are anybody that had used successfully this library and want to share a "howto"?

    Thanks

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved