Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. libQtCassandra.so library for cassandra is not building with QT5

libQtCassandra.so library for cassandra is not building with QT5

Scheduled Pinned Locked Moved Solved Mobile and Embedded
4 Posts 2 Posters 584 Views 1 Watching
  • 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
    AMOL
    wrote on last edited by
    #1

    Hello developers,
    I need your help in building libQtCassandra.so.
    I am using QT 5.13.1 on linux I have downloaded a libQtCassandra source code from here: https://sourceforge.net/projects/libqtcassandra/files/
    I am using version libQtCassandra_0.5.0
    I have added all dependencies that is given on link.
    after Cmake I get build folder but when I run make command it gives me error as

    error: no matching function for call to ‘QMap<QByteArray, QSharedPointerQtCassandra::QCassandraRow >::iterator::iterator(QMap<QByteArray, QSharedPointerQtCassandra::QCassandraRow >::const_iterator)’
    QCassandraRows::iterator ri(f_rows.find(row_key));

    I tried to search but I don't found any reference for resolving this or building and using Cassandra library.
    also not found any example for how to use Cassandra with QT.

    So any one let me know any reference for Cassandra with QT or any github link?
    Any help will be appreciated, thanks in advance....:)
    .

    jsulmJ 1 Reply Last reply
    0
    • A AMOL

      Hello developers,
      I need your help in building libQtCassandra.so.
      I am using QT 5.13.1 on linux I have downloaded a libQtCassandra source code from here: https://sourceforge.net/projects/libqtcassandra/files/
      I am using version libQtCassandra_0.5.0
      I have added all dependencies that is given on link.
      after Cmake I get build folder but when I run make command it gives me error as

      error: no matching function for call to ‘QMap<QByteArray, QSharedPointerQtCassandra::QCassandraRow >::iterator::iterator(QMap<QByteArray, QSharedPointerQtCassandra::QCassandraRow >::const_iterator)’
      QCassandraRows::iterator ri(f_rows.find(row_key));

      I tried to search but I don't found any reference for resolving this or building and using Cassandra library.
      also not found any example for how to use Cassandra with QT.

      So any one let me know any reference for Cassandra with QT or any github link?
      Any help will be appreciated, thanks in advance....:)
      .

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @AMOL Did you try any of the newer versions (0.5.0 is not the latest one)?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      A 1 Reply Last reply
      0
      • jsulmJ jsulm

        @AMOL Did you try any of the newer versions (0.5.0 is not the latest one)?

        A Offline
        A Offline
        AMOL
        wrote on last edited by
        #3

        Hi @jsulm,
        Thank you for your reply.
        yes I tried with latest version also but I got errors in cmake only
        So I moved to this version.
        If you can guide me with latest version, I'll try with that again:)

        1 Reply Last reply
        0
        • A Offline
          A Offline
          AMOL
          wrote on last edited by
          #4

          Hello all, I think I found the solution I have found another driver for Cassandra on below link:
          https://github.com/datastax/cpp-driver/tree/master
          I tried to use it and it is is working with QT

          1 Reply Last reply
          1

          • Login

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