Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.2.1
-
None
Description
I think it's similar to the bug reported in Qt 5.8 - https://bugreports.qt.io/browse/QTBUG-56862
I am getting similar error for:
#include <QtCharts> using namespace QtCharts;
I get the following build error:
In file included from /Users/akshayrajgollahalli/Documents/GitHub/DataLogger/chart.cpp:5: /Users/akshayrajgollahalli/Documents/GitHub/DataLogger/chart.h:16:17: error: expected namespace name using namespace QtCharts; ^ In file included from /Users/akshayrajgollahalli/Documents/GitHub/DataLogger/cmake-build-debug/DataLogger_autogen/mocs_compilation.cpp:2: In file included from /Users/akshayrajgollahalli/Documents/GitHub/DataLogger/cmake-build-debug/DataLogger_autogen/EWIEGA46WW/moc_chart.cpp:10: /Users/akshayrajgollahalli/Documents/GitHub/DataLogger/cmake-build-debug/DataLogger_autogen/EWIEGA46WW/../../../chart.h:16:17: error: expected namespace name using namespace QtCharts; ^