Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.0.4, 6.2.0 Beta4
-
None
-
ArchLinux x86_64 with kernel 5.12.1
Qt 6.0.4
nlohmann::json 3.9.1
CMake 3.20.2
gcc 9.3.0 and 10.2.0
-
-
8
-
67385c04ce (qt/qtbase/dev) 67385c04ce (qt/tqtc-qtbase/dev) aae6eb8f6d (qt/qtbase/6.3) aae6eb8f6d (qt/tqtc-qtbase/6.3) aae6eb8f6d (qt/tqtc-qtbase/6.3.0)
-
Team 1 Foundation_Sprint 42, Team B Foundation Sprint 53
Description
Hi,
It seems a specific combination of Qt 6.0.4 + gcc 10 causes a compilation error when using nlohmann::json as a signal parameter. Please find attached a minimal example and the error log.
This works fine with Qt 5.15.2 + gcc (9 or 10) and also with Qt 6.0.4 + gcc 9. I'm unsure, however, if it's a bug in Qt 6 itself or in nlohmann::json not meeting specific requirements for being used as a signal parameter.
Thanks in advance for any feedback!