summaryrefslogtreecommitdiffstats
path: root/tests/manual/barcharttester/chart-widget.cpp
diff options
context:
space:
mode:
authorSami Varanka <[email protected]>2025-05-22 19:57:37 +0300
committerSami Varanka <[email protected]>2025-05-23 10:31:31 +0000
commit5a7ad3e526b7f585cf52b978f4a3e19268a418bd (patch)
tree99cd84b6d45898d83f6b37f8310c6610440234b0 /tests/manual/barcharttester/chart-widget.cpp
parent9afa6433ae06c4665558e3597819a021b3d622b4 (diff)
Fail compilation when QtGraphs in the same TUHEADdev
Because QtGraphs has inherited many of its classes from QtCharts, the modules have many classes with the same name. Therefore, mixing QtCharts and QtGraphs headers in the same TU violates ODR. This patch includes the check for that and fails compilation with an error message. Pick-to: 6.8 6.9 Fixes: QTBUG-135691 Change-Id: Ic612ec36b1369ceee0eef83220c41e75f38a611e Reviewed-by: Miikka Heikkinen <[email protected]>
Diffstat (limited to 'tests/manual/barcharttester/chart-widget.cpp')
0 files changed, 0 insertions, 0 deletions