-
Task
-
Resolution: Fixed
-
Not Evaluated
-
5.11
-
None
-
5f8e92345 (dev), eea420109 (dev)
For some QtIvi backends it would be beneficial to pass special configurations from the frontend API to the loaded backend.
The usecase for this is for example the qtremoteobjects backend (or any other networked backend), as it needs to know to which service it needs to connect.
Although this should automatically work on the target in most cases, the same plugin can be used as a remote control application (e.g. an android app) as well. There the server IP address needs to be given to the backend.
As these configurations are backend dependent, it cannot be autogenerated and shouldn't be part of the frontend API, but of the generic AbstractFeature* API.
The idea would be to add a new property which contains the configuration and is passed to the backend in the initialize() step (or a separate step). The method is called again, once the configuration is changed. In this case the backend should update and take the needed measures.
| For Gerrit Dashboard: QTBUG-99078 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 440560,11 | Add a new QIfConfiguration class | dev | qt/qtinterfaceframework | Status: MERGED | +2 | 0 |
| 444583,10 | QIfConfiguration: Add Feature related properties | dev | qt/qtinterfaceframework | Status: MERGED | +2 | 0 |