So, it`s a pity, but I can`t see most interesting examples. Well. I`m trying to write a histogram for my project. Step by step I`m trying to understand what`s wrong with example "histogram". As I understood there are no class like QwtHistogram. So, in example I have

Can you help me? Were is problem may be? May be another way present to make histogram?
Thanks a lot everyone!

DKL1972

30th June 2008, 23:05

I can't help with your seg faults but if you are interested in a histogram, I am using the QwtPlotHistogram which is in the SVN development trunk (5.2). I have found it quite useful.

-Dean

31512

1st July 2008, 04:29

I can't help with your seg faults but if you are interested in a histogram, I am using the QwtPlotHistogram which is in the SVN development trunk (5.2). I have found it quite useful.
-Dean
Thanks a lot! All OK, but at

So. I`ve got from from SVN development trunk version 5.2. Before compile and install I changed in qwt.pri CONFIG += QwtDll to CONFIG -= QwtDll. And as result I have libqwt.a (instead of libqwt-5.2.so). Static library. While compiling and installing no any problems. I`ve copied lib and src subdirectory into qwt subdirectory of my project. While compiling project no any trouble. A trouble at linking!

Can you explain why it should be -L/qwt/lib -lqwt, but not -L/qwt/lib -llibqwt?
It's UNIX naming convention. All library file names start with "lib", so somebody in the Olde Days decided to skip it in linker options.

31512

3rd July 2008, 05:00

It's UNIX naming convention. All library file names start with "lib", so somebody in the Olde Days decided to skip it in linker options.
Thanks a lot! Live and learn... RTFM for me. :)