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:
Qt Code:
  1. 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:
Qt Code:
  1. using namespace KDChart;
To copy to clipboard, switch view to plain text mode 
but, when I'm trying to create object like this:
Qt Code:
  1. Chart *chart1 = new Chart();
To copy to clipboard, switch view to plain text mode 

in the xterm appears error:
Qt Code:
  1. undefined reference to 'KDChart::Chart::Chart(QWidget*)'
  2. collect2: ld returned 1 exit status
  3. 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.