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!



  • it seems that the remote connection is removed from the current version, so I will need to re-add that code myself :(


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.