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. [Qt Remote Objects]
Forum Updated to NodeBB v4.3 + New Features

[Qt Remote Objects]

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 788 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.
  • L Offline
    L Offline
    ligabre
    wrote on 3 May 2018, 08:54 last edited by
    #1

    Hello all,

    I'm looking at Qt Remote Objects. I'm using the QRemoteObjectDynamicReplica to play a little bit with some QObject's fully defined and exposed through a QRemoteObjectHost, using the enableRemoting method.

    On the client side, I can invoke the methods of the dynamic replica that have no return value, but I'm not able to invoke the methods with a return value (using the signature of invokeMethod taking parameters for a return value). I tried to set different values for the ConnectionType, none is working if the method has no return value.

    Is there a way to call those methods with a return value ?

    Thank you in advance !

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrdebug
      wrote on 3 May 2018, 10:27 last edited by
      #2

      Can you explain what you have to do?
      Are you sure "Qt Remote Objects" are what you need?

      Need programmers to hire?
      www.labcsp.com
      www.denisgottardello.it
      GMT+1
      Skype: mrdebug

      1 Reply Last reply
      0
      • L Offline
        L Offline
        ligabre
        wrote on 3 May 2018, 10:53 last edited by
        #3

        Yes, sure!

        I'd like to expose an API (or a list of API's) usable by other processes. I already have the QObject defining the API, i.e. the properties, signals and slots usable. So I don't need to define the Source (the sources that will be parsed by repc) defining the API.

        Those objects will be used by some other processes. I could have used some IPC technologies using either QTcpSocket, QSharedMemory or other, but I'd like to have a look to the Qt Remote Object technology preview.

        Thank you in advance!

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mrdebug
          wrote on 3 May 2018, 12:08 last edited by
          #4

          Ok, Qt Remote Objects seem be great. I haven't use it before.
          I normally use xml api over http, using the poco libraries.
          In this way you can share apis with other technologies such as php, java ...

          Need programmers to hire?
          www.labcsp.com
          www.denisgottardello.it
          GMT+1
          Skype: mrdebug

          1 Reply Last reply
          0

          1/4

          3 May 2018, 08:54

          • Login

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