We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b287aec commit f08b408Copy full SHA for f08b408
1 file changed
tests/test.cpp
@@ -28,8 +28,10 @@
28
#include <nlohmann/json-qt.hpp>
29
#include <nlohmann/json.hpp>
30
31
-// Workaround for a compile error when using mingw 13 with Qt6
32
-#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
+// Workaround for a compile error when using gcc 13 caused by a metatype usage with nlohmann::json
+// In instantiation of 'struct std::is_default_constructible<tagMSG>':
33
+// error: static assertion failed: template argument must be a complete class or an unbounded array
34
+#if __GNUC__ >= 13
35
namespace QTypeTraits {
36
template<>
37
struct has_ostream_operator<QDebug, nlohmann::json> : std::false_type
0 commit comments