Hi, i'm trying to plot a graph in mainwindow.cpp using some data which i've processed and stored in a QList in another cpp file.
I've tried to include the header file of the cpp file i've processed in and declared the QList globally ( such as "QList<FinalData> finaldata") at the top of the mainwindow.cpp but the graph is not showing anything. I've tried to plot some random graph using random numbers and some graph is shown. Thus, i believe that i've not brought any data from the other cpp file to the mainwindow.cpp for plotting.
It may sound basic but is there anything wrong with what i'm doing and how can i bring over the data i've stored in a QList for plotting?
Any help will be appreciated. Thanks
Bookmarks