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

RESEARCH: Better error reporting for sensors API

XMLWordPrintable

    • Icon: User Story User Story
    • Resolution: Out of scope
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • None
    • Sensors
    • None

      Overview

      There's quite a few cases where we have methods that can fail but that do not return a status code. Since we probably can't resort to exceptions, this needs to be reviewed.

      I think part of the problem was the "design for QML" mentality that went into the original design. A slot does not normally return anything.

      The existing error reporting mechanism seems practically useless so it should probably just be scrapped.

      Acceptance Criteria

      • A solid understanding of how error reporting will work for both C++ clients and QML clients
      • User stories for the implementation

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

            lpotter Lorn Potter
            lramsay Lincoln Ramsay (closed Nokia identity) (Inactive)
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes