PDA

View Full Version : qframe.h no such file or directory



DAVC
5th February 2018, 14:35
Hello,

I have been assigned to take over the continuation of an old Qt/Qwt project.
The project is based on Qt 4 and Qwt 4.x.x. as far as i can tell. Since the debugger in the old Qt creator (2.5) doesn't work I need to port it to the newer Qt 5 and Qwt 6.1.3
I have built the new Qwt 6.1.3 using the guide provided here: http://qwt.sourceforge.net/qwtinstall.html for windows.
However, I had to use Qtcreator to make the prl-files.

In my long quest to fix broken dependencies and such, i noticed that i get the error for the following qwt headers, qwt_abstract_legend.h and qwt_plot.h: qframe.h no such file or directory.
qframe.h has been included using
#include "qframe.h" however, qframe.h resides in
#include "Qwidgets/qframe.h"

Making this small edit is of course easy, but I'm wondering why is it necessary to begin with?

Have I built qwt incorrectly, since i get this error?

I have searched the web for someone with a similar problem, but it was fruitless.

Best Regards

David

Uwe
6th February 2018, 06:45
The paths to those subdirectories are usually added to the include path by your Makefile - at least, when it was created by qmake.

Uwe