Couchbase Mobile Language Support - Qt Creator

What languages are supported and what samples should we use if we want Cross Platform Support With Couchbase Mobile using QT Creator which supports Most platforms including Embedded, Ios, Android, and Desktop.

Is there a Desktop (Couchbase Mobile) solution?
Is there a Local Database Solution for Desktop?

We have to have a local datatbase and P2P Replication and Syncing is Urgent and very important for our project.

Mike Tallent

Hi @abigdreamer / Mike,

The Couchbase APIs are in Objective-C and not C++ but you can mix C++ and Objective-C code in QT Creator as the compiler used for iOS applications allows for the two to co-exist where you can use Objective-C syntax in a C++ file.

Suffix source files with .mm, and add them to OBJECTIVE_SOURCES instead of SOURCES in the .pro file. Now can use frameworks from Appleā€™s iOS Developer Library in Qt applications. Some examples are here on how to go about doing that and then potentially similar, call other Objective-C APIs like Couchbase Lite.

From there, you may implement Couchbase Sync Gateway 1.0.3 along with Couchbase Server for the Desktop / Mobile solution.