Unsolved QTCharts not showing up
-
We are trying to add chart to QTQuick application . We have added QT += charts in .pro file and imported the QTcharts 2.3 but the charts are not showing up and it says Charts module is not installed. Could anyone please help on this
-
You have to install qt charts for that through qt installer
-
@ashajg We have installed it while installing QT but it is showing module not installed
-
Do we require licensed version for this as we are using opensource version
-
Hi,
It depends, are you using Qt under GPL or LGPL ? If the former, no problem, if the later then yes, you'll need a licence or make your project GPL.
-
@Mamatha
Please check one thing as far as I remember we have to make some changes in main.cpp also.
#include<QGuiApplication> should be changed to
#include<QApplication> in main.cpp.
Please check have you done this change.Check this :https://doc.qt.io/qt-5/qtcharts-index.html