Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-99078

Add a way to pass configuration options to backend

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • 6.5.0
    • 5.11
    • Qt Interface Framework
    • 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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            gagi Dominik Holland
            gagi Dominik Holland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes