summaryrefslogtreecommitdiffstats
path: root/config.tests
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@qt.io>2018-07-10 10:38:33 +0200
committerOliver Wolff <oliver.wolff@qt.io>2018-07-17 05:17:59 +0000
commitdefb24004e9afcbe42d36b445151c2e842d59fba (patch)
treed0b515960333a2c35987733fffe88c3e24bb1a9c /config.tests
parent374b78b4ec186ff3a7aedc96b3a1306f3da7c852 (diff)
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>
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/winrt_bt/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.tests/winrt_bt/main.cpp b/config.tests/winrt_bt/main.cpp
index 2e0eb276..85c26bf7 100644
--- a/config.tests/winrt_bt/main.cpp
+++ b/config.tests/winrt_bt/main.cpp
@@ -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;