Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtJsonDb connect to remove jsondb server
Forum Updated to NodeBB v4.3 + New Features

QtJsonDb connect to remove jsondb server

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 1.4k 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.
  • Y Offline
    Y Offline
    yazwas
    wrote on last edited by
    #1

    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!

    1 Reply Last reply
    0
    • Y Offline
      Y Offline
      yazwas
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0

      • Login

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