Results 1 to 2 of 2

Thread: qframe.h no such file or directory

  1. #1
    Join Date
    Feb 2018
    Posts
    22
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Windows

    Default qframe.h no such file or directory

    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
    Qt Code:
    1. #include "qframe.h"
    To copy to clipboard, switch view to plain text mode 
    however, qframe.h resides in
    Qt Code:
    1. #include "Qwidgets/qframe.h"
    To copy to clipboard, switch view to plain text mode 

    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

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,309
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: qframe.h no such file or directory

    The paths to those subdirectories are usually added to the include path by your Makefile - at least, when it was created by qmake.

    Uwe

  3. The following user says thank you to Uwe for this useful post:

    DAVC (6th February 2018)

Similar Threads

  1. Replies: 3
    Last Post: 9th November 2013, 17:03
  2. Replies: 2
    Last Post: 25th July 2013, 07:17
  3. Replies: 1
    Last Post: 23rd May 2011, 05:53
  4. Replies: 1
    Last Post: 8th November 2010, 04:24
  5. Replies: 4
    Last Post: 9th May 2010, 17:18

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.