QT_CHARTS_USE_NAMESPACE only for qt5

This commit is contained in:
cawtds
2026-07-23 22:52:07 +02:00
parent fa511df1ec
commit ffe1dd901b

View File

@@ -3,7 +3,10 @@
#if QT_CHARTS_LIB
#include <QtCharts/QChartView>
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QT_CHARTS_USE_NAMESPACE
#endif
class Project;