I am using Ubuntu 15.10. I wanted to make live plots of some data my C++ program is outputting, and was recommended to use Qt Charts. It has not been cooperative thus far.
I had Qt 5.4 installed from an unknown source (I recently reformatted, so I have no clue where it was from). Before I realized this I experienced several problems. I then uninstalled it, then installed Qt 5.6 from offline binary installer. I added the path to its version of qmake to the front of my path variable.
I downloaded the dev branch of Qt Charts from its github page and put it in an arbitrary directory.
https://github.com/qtproject/qtcharts/tree/dev
I run qmake in that directory, and then make. It fails with "chartdataset.cpp:30:36: fatal error: private/chartdataset_p.h: No such file or directory".
The only copy of "chartdataset_p.h" anywhere on my system is "/qtcharts-dev/src/charts/chartdataset_p.h".
These are the exact commands suggested by the QtCharts getting started guide: http://doc.qt.io/QtCharts/qtcharts-getting-started.html
The only difference is that I pulled from github instead of installing directly from the Maintenance Tool. I did not use the maintenance tool because I had to tell it which repository to use, and when I did so and tested it, I got "Error downloading https://github.com/qtproject/qtchart...ev/Updates.xml - server replied: Not Found".
Any help would be greatly appreciated.
Bookmarks