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

Compiler warning "Use GetRfcommServicesAsync instead of RfcommServices"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 6.3.0
    • None

    Description

      Building qtconnectivity/dev (6.3) with MSVC causes compiler warnings:

      [2506/7477] Building CXX object qtconnectivity\src\bluetoo...Bluetooth.dir\qbluetoothdevicediscoveryagent_winrt.cpp.obj
      C:\dev\qt\dev\src\qtconnectivity\src\bluetooth\qbluetoothdevicediscoveryagent_winrt.cpp(596): warning C4996: 'ABI::Windows::Devices::Bluetooth::IBluetoothDevice::get_RfcommServices': Use GetRfcommServicesAsync instead of RfcommServices.  For more info, see MSDN.
      C:\dev\qt\dev\src\qtconnectivity\src\bluetooth\qbluetoothdevicediscoveryagent_winrt.cpp(776): warning C4996: 'ABI::Windows::Devices::Bluetooth::IBluetoothLEDevice::get_GattServices': Use GetGattServicesAsync instead of GattServices.  For more information, see MSDN.
      C:\dev\qt\dev\src\qtconnectivity\src\bluetooth\qbluetoothdevicediscoveryagent_winrt.cpp(877): warning C4996: 'ABI::Windows::Devices::Bluetooth::IBluetoothLEDevice::get_GattServices': Use GetGattServicesAsync instead of GattServices.  For more information, see MSDN.
      [2512/7477] Building CXX object qtconnectivity\src\bluetooth\CMakeFiles\Bluetooth.dir\qlowenergycontroller_winrt.cpp.obj
      C:\dev\qt\dev\src\qtconnectivity\src\bluetooth\qlowenergycontroller_winrt.cpp(747): warning C4996: 'ABI::Windows::Devices::Bluetooth::IBluetoothLEDevice::GetGattService': Use GetGattServicesForUuidAsync instead of GetGattService.  For more information, see MSDN.
      

      Attachments

        Issue Links

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

          Activity

            People

              ablasche Alex Blasche
              kkohne Kai Köhne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes