- Add Qt5.4 PPA: https://launchpad.net/~beineri/+archive/ubuntu/opt-qt542-trusty
- Install qt54-meta-all package
- Use
/opt/qt54/bin/qt54-env.sh
to source environment
- Download & extract Qt Charts source - http://download.qt.io/archive/qt/5.7/5.7.0/submodules/qtcharts-opensource-src-5.7.0.tar.gz
- Source Qt 5.4 environment
- Create build subdirectory in qtcharts extract src:
source /opt/qt54/bin/qt54-env.sh
cd qtcharts-opensource-src-5.7.0/build
qmake ../qtcharts.pro
make install
- It is installed into the Qt54 installation