mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-07 12:57:34 +08:00
33d9cd45ff
* [qt6] Update to 6.1.1 * version stuff * fix empty dir * update version * fix casing in qtbase * [libpq] add secure32.lib on windows * add clang-cl fix * version stuff * fix flag removal by adding a space * version stuff * make qt6->Qt6 usage consistent since Qt6 refers to itself as Qt6 with uppercase Q * fix libpq wrapper opensll linkage on linux * use policy to fix dependent ports * version stuff * use upstream patch * version stuff * fix source location for clang-cl * version stuff * remove ws change * version stuff
14 lines
577 B
Diff
14 lines
577 B
Diff
diff --git a/src/corelib/kernel/qproperty.h b/src/corelib/kernel/qproperty.h
|
|
index 823b2057b..4a8cd4fa8 100644
|
|
--- a/src/corelib/kernel/qproperty.h
|
|
+++ b/src/corelib/kernel/qproperty.h
|
|
@@ -49,7 +49,7 @@
|
|
|
|
#include <QtCore/qpropertyprivate.h>
|
|
|
|
-#if __has_include(<source_location>) && __cplusplus >= 202002L && !defined(Q_CLANG_QDOC)
|
|
+#if __has_include(<source_location>) && __cplusplus >= 202002L && !defined(Q_CLANG_QDOC) && defined(__cpp_consteval)
|
|
#include <source_location>
|
|
#define QT_SOURCE_LOCATION_NAMESPACE std
|
|
#define QT_PROPERTY_COLLECT_BINDING_LOCATION
|