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

QLowEnergyController and obsolete ctor

    XMLWordPrintable

Details

    • 8af2bea29a4aec10d68f022520d4abca7320ebb1 (qt/qtconnectivity/dev)

    Description

      In Qt 5.9 I find that the following ctor is marked as obsolete:

      explicit QLowEnergyController(const QBluetoothAddress &remoteDevice,
      const QBluetoothAddress &localDevice,
      QObject *parent = Q_NULLPTR); // TODO Qt 6 remove ctor

      but there is no other way to create a QLowEnergyController which does not use
      the local default adapter.

      According to Alex Blasche:
      The fix would be to overload QLEController::createCentral().

      Attachments

        For Gerrit Dashboard: QTBUG-63019
        # Subject Branch Project Status CR V

        Activity

          People

            ablasche Alex Blasche
            mkoller Martin Koller
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes