Questions tagged [qtremoteobjects]
27 questions
0
votes
1 answer
How to import .rep on another .rep ? Qt Remote Object
It’s been a few days, I'm facing a problem. I want to write two rep files with one POD on each file.
So, I have a file a.rep :
POD A(int id , QString label)
And a b.rep :
POD B(int id, QList aList)
To include the type A on the file b.rep, I…

Juze
- 11
- 5
0
votes
0 answers
QtRemoteObjects: get signal on host when remote node/replica disconnects
I'm searching for a API of QtRemoteObject classes to detect when a remote client node (or even a specific replica, if possible) disconnects from the registry/host.
I've seen that this 4 year old question has no answers on stackoverflow:…

enricop
- 1
- 2
0
votes
1 answer
Qt Remote Objects' interoperability between operating systems
Can 2 Qt applications running on 2 different OSes -- one on Windows and the other one on macOS for instance -- communicate using QtRO?
I assume they can, but can anybody confirm this?
Thank you.

jageay
- 51
- 4
0
votes
1 answer
How to emit signals from source to replica using QT Remote Objects
How to emit a signal from source c++ file and capture it using connections in replica file.
I have declared the signal and the slot emitting the signal in rep file.Trying to catch the signal using Connections: and target as replica object.I have…
0
votes
1 answer
Use Qt Remote Objects in Visual Studio (with qt plugin)
I want to develop a program using Visual Studio working with Qt Remote Objects but I don't find the correct way to have it working. Based to this log the Qt Visual Studio Tools should support Qt Remote Objects managements starting from version…

Suppaman
- 151
- 1
- 12
0
votes
1 answer
cmake qt5_generate_repc() places rep header in CMAKE_CURRENT_BINARY_DIR
I'm trying to determine the right way to build my project. Due to requirements I'm using cmake instead of qmake. In my Qt project I'm using Remote Objects.
The problem is that qt5_generate_repc generates my header from the .rep file and places it in…

JuicyKitty
- 318
- 1
- 16
0
votes
1 answer
Drop replica from the source | Qt Remote Objects
I have application where only one replica can communicate with source at the time but want to allow another replica to overtake the communication. For that I need a way to
figure out if any replicas currently connected to source
drop replica from…

JuicyKitty
- 318
- 1
- 16
0
votes
1 answer
How to specify repc's output path in qmake?
in qmake I have
REPC_SOURCE = rpc/SomeRPC.rep
and it generates rep_SomeRPC_source.h in the root of the project. I would like to store it somewhere else to keep root as clean as possible.
Documentation says repc creates the rep_SimpleSwitch_source.h…

JuicyKitty
- 318
- 1
- 16
0
votes
0 answers
control a Qt/C++/QML GUI application running on a embedded device from a remote client application?
Scenario:
We have a Qt application(Qt 5.9.5,C++,QML,Ubuntu) running on a device (deals with telecommunications), which can also be viewed in a browser using webserver. All the operations done manually on the device have been visualized on the…

Sivaram Annies
- 1
- 2
0
votes
0 answers
QtRemoteObjects autogenerated replica header complaining about undefined vtable
Started using QtRO and generated files inherently complain about vtable:
#ifndef REP_REMOTEEXAMPLE_H
#define REP_REMOTEEXAMPLE_H
// This is an autogenerated file.
// Do not edit this file, any changes made will be lost the next time it is…

bardao
- 914
- 12
- 23
0
votes
1 answer
Qt5 Remote Object as interprocess communication between a Windows service and a normal process
I need to have a bidirectional communication channel between a Windows service and a normal process. I have tried with Qt5 Remote Object (source is on service side, replica is on the process side), but I cannot connect. Is there a way to use Qt5 RO…

Cristea Bogdan
- 116
- 1
- 11
0
votes
1 answer
QT5 RemoteObjects Q_GADGET as PROP
I am trying to define a complex structure (practically a POD) as a property in a REP file. The structure is defined already as Q_GADGET in a separate header file.
When I try to instantiate the replica the system crashes complaining that
it is unable…

harsszegi
- 369
- 2
- 15