Solved How to install QtCharts module on Qt 5.5. OS is Ubuntu 16.04 lts
-
I am a newbie for Qt. My embedded device support Qt 5.5 and i am developing on Ubuntu 16.04 Qt 5.5. I am trying to run a QtCharts sample but it is not installed on 5.5 version of Qt.
i downloaded module from "https://github.com/qt/qtcharts" and tried to install just as it says in readme file but it did not work. am i doing it right?
How can i install this module on Qt 5.5 ?Thanx in advance
-
QtCharts was a commercial-only module up to Qt 5.6. It was open sourced in Qt 5.7 but under GPLv3 license, which is probably not a good license for your project. So, to use QtCharts in Qt 5.5, you need to get Qt commercial license.
Or update your Qt to a higher version (that's a very good idea anyway - a ton of new features and bug fixes have been implemented since 5.5) and distribute your whole app under GPLv3.
-
On my embedded device Qt 5.5 is installed and it does not supoort newer versions.
So is it impossible to use QtCharts on this device and Qt version? -
@hakanaktan said in How to Install QtCharts module on Qt 5.5 .Os is Ubuntu 16.04 lts:
On my embedded device Qt 5.5 is installed and it does not supoort newer versions.
I'm pretty sure it would support higher versions just fine, you may need to compile Qt yourself - but that indeed might be a bit hard.
So is it impossible to use QtCharts on this device and Qt version?
So it seems. Unless you get in touch with Qt Company and they help you - that will be costly though, as Qt 5.5 is long, long past it's End of Life date.
There are other chart libraries for Qt, by the way: Qwt, and you can integrate JavaScript charts (example: https://github.com/milosolutions/mcharts).