Cleanup qtbase to allow LLVM-MinGW use WinRT

Both clang-cl and clang-mingw supports WinRT facilities now, so
there's no need to limit WinRT usages to MSVC only.

Change-Id: Ib3019db62a038f0ebb5f20210c0a12ee296e7f71
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
Yuhang Zhao 2022-11-23 09:33:00 +08:00 committed by Cristian Adam
parent 7956d9e060
commit 040aef5b2f
2 changed files with 2 additions and 2 deletions

View File

@ -1012,5 +1012,5 @@ qt_configure_add_report_entry(
qt_configure_add_report_entry(
TYPE WARNING
MESSAGE "Basic cpp/winrt support missing. Some features might not be available."
CONDITION MSVC AND NOT QT_FEATURE_cpp_winrt
CONDITION NOT QT_FEATURE_cpp_winrt
)

View File

@ -17,7 +17,7 @@
#include <QtCore/qglobal.h>
#if !defined(QT_BOOTSTRAPPED) && defined(Q_OS_WIN) && !defined(Q_CC_CLANG) && QT_CONFIG(cpp_winrt)
#if !defined(QT_BOOTSTRAPPED) && QT_CONFIG(cpp_winrt)
# define QT_USE_FACTORY_CACHE_REGISTRATION
#endif