Skip to content

cmake script to compile examples for QtChart and a collection of c++ and python examples

Notifications You must be signed in to change notification settings

kindoblue/QtChartExample

Repository files navigation

charts

Setup Instruction for macos

Install Qt5. You can do easily with brew

brew install qt5
brew link qt5 --force

Add some missing links that should be really there

sudo ln -s /usr/local/Cellar/qt/5.10.0/mkspecs /usr/local/mkspecs &&
sudo ln -s /usr/local/Cellar/qt/5.10.0/plugins /usr/local/plugins

(assuming the version 5.10.0 was installed, otherwise adjust)


After having cloned this project, initialize the submodule that come with it

git submodule init
git submodule update

This will put in place the QtChart subproject, that comes with the examples.


Create a build directory, call cmake and then make to build the examples

mkdir cmake-build-debug
cd cmake-build-debug
cmake ..  -DCMAKE_BUILD_TYPE=Debug 
make

That's all

About

cmake script to compile examples for QtChart and a collection of c++ and python examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published