QtJsonDb connect to remove jsondb server
-
Good day
I'm using QtJsonDb with QtContact, and in the docs, it says that you can connect to local or remote jsondb server
@ JsonDbConnection *connection = new JsonDbConnection;
connection->setToken("AnotherToken");
connection->connectToHost( "testserver.nrcc.noklab.com", 8801 );
@by default it JsonDbClient connects to local server, I want to know how to use that to connect to remote server. Did anyone try that yet?
The above code only shows the DbConnection, but thats not a full example.
Thanks!