build Qt Submodules and install
download the package of Qt submodules from chinese source
extract file
cd Download/
tar -xvJf qtcharts-everywhere-src-5.10.0.tar.xz
cd qtcharts-everywhere-src-5.10.0
build chart and install
qmake
make -j8
make docs
make install
if output error: could not exec ‘/usr/lib/x86_64-linux-gnu/qt4/bin/qmake’ please see here to resovle.