Solved libQtCassandra.so library for cassandra is not building with QT5
-
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 aserror: 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....:)
. -
@AMOL Did you try any of the newer versions (0.5.0 is not the latest one)?
-
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:) -
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