Details
-
Task
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
6.3.0 Alpha
Description
Compiling qtconnectivity prints various compiler warnings. Fix or disable these, and then mark the repository as warning free by removing
set(QT_REPO_NOT_WARNINGS_CLEAN TRUE)
in qtconnectivity/CMakeLists.txt. This will ensure that no new warnings are introduced.
Current warnings on Windows:
[476/479] Building CXX object qtconnectivity\src\bluetooth...Bluetooth.dir\qbluetoothdevicediscoveryagent_winrt.cpp.obj C:\dev\qt\dev\src\qtconnectivity\src\bluetooth\qbluetoothdevicediscoveryagent_winrt.cpp(640): 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(777): warning C4996: 'ABI::Windows::Devices::Bluetooth::IBluetoothLEDevice::get_GattServices': Use GetGattServicesAsync instead of GattServices. For more information, see MSDN. [478/479] Building CXX object qtconnectivity\src\bluetooth\CMakeFiles\Bluetooth.dir\qlowenergycontroller_winrt.cpp.obj C:\dev\qt\dev\src\qtconnectivity\src\bluetooth\qlowenergycontroller_winrt.cpp(749): warning C4996: 'ABI::Windows::Devices::Bluetooth::IBluetoothLEDevice::GetGattService': Use GetGattServicesForUuidAsync instead of GetGattService. For more information, see MSDN.