Hello to everyone...
This is my first thread on this forum, sorry if I'm opening it in not correct direction.
I have some question about KDChart:
I've installed KDChart tools for Qt, but I don't even know how to use it properly. Can anyone show me how to use it? just simple example
Platform: Linux(Fedora 16)
Using: QtDesigner for visually creating of MainWindow and e.t.c, gedit for coding, xterm for compiling whole these projects.
here is what I have for now:
in .pro file I've decleared:
INCLUDEPATH += "/home/programmer/Documents/kdc/include/KDChart/"
INCLUDEPATH += "/home/programmer/Documents/kdc/include/KDChart/"
To copy to clipboard, switch view to plain text mode
than in my .h file I've included <KDChartChart.h> and declared:
using namespace KDChart;
using namespace KDChart;
To copy to clipboard, switch view to plain text mode
but, when I'm trying to create object like this:
Chart *chart1 = new Chart();
Chart *chart1 = new Chart();
To copy to clipboard, switch view to plain text mode
in the xterm appears error:
undefined reference to 'KDChart::Chart::Chart(QWidget*)'
collect2: ld returned 1 exit status
make: *** [qet] Error 1
undefined reference to 'KDChart::Chart::Chart(QWidget*)'
collect2: ld returned 1 exit status
make: *** [qet] Error 1
To copy to clipboard, switch view to plain text mode
How to fix it? and please if you have some examples in this case, show it.
Thanks.
Best regards, programmer251.
Bookmarks