Make winrt_bt config test fail on ICC

ICC chokes on the way, callbacks are registered for the winrt backend,
so it should be disabled when ICC is used to build QtConnectivity.

Task-number: QTBUG-68026
Change-Id: I6f8f0b031a97afe7ebecc5cdf78d4fe4d1aac2b4
Reviewed-by: Alexander Shevchenko <sav_ix@ukr.net>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Oliver Wolff 2018-07-10 10:38:33 +02:00
parent 374b78b4ec
commit defb24004e
1 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,10 @@
#include <windows.devices.enumeration.h>
#include <windows.devices.bluetooth.h>
#if defined(_WIN32) && defined(__INTEL_COMPILER)
#error "Windows ICC fails to build the WinRT backend (QTBUG-68026)."
#endif
int main()
{
Microsoft::WRL::ComPtr<ABI::Windows::Devices::Enumeration::IDeviceInformationStatics> deviceInformationStatics;