Results 1 to 4 of 4

Thread: Error finding qwt include files when trying to install qwtpolar in Windows

  1. #1
    Join Date
    Jun 2011
    Location
    Porto Alegre, Brazil
    Posts
    482
    Thanks
    165
    Thanked 2 Times in 2 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Error finding qwt include files when trying to install qwtpolar in Windows

    Hi!

    (Original question in SO: http://stackoverflow.com/questions/3...lar-in-windows)

    I'm trying to install QwtPolar 1.1.1 in Windows over Qwt 6.1.2.

    I managed so far to successfully install Qwt and I can see the .prf and 2 .pri in the features folder. Then I go to the QwtPolar folder, call for qmake -set QMAKEFEATURES C:\Qt\Qwt-6.1.2 and check if it was added with qmake -query, which returns positive. Then I call qmake qwtpolar.pro with no problems, but when mingw32-make is called, I always get the same error: it wasn't possible to find some Qwt headers.

    Judging Uwe's final answer in this thread, I suppose qmake is failing to do it's job with the .prf since I can't see, in the error message, the moment where the qwt header files are supposed to be included:

    qwtpolar error.jpg

    Well I ran out of options. What should I do?
    May the Lord be with you. Always.

  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: Error finding qwt include files when trying to install qwtpolar in Windows

    Check your files in "C:\Qt\Qwt-6.1.2\features". If everything looks o.k. you could try to modify "qwtpolarbuild.pri" and replace "CONFIG += qwt" by "include ( C:\Qt\Qwt-6.1.2\features/qwt.prf )".

    If this works you know, that you have a problem with setting QMAKEFEATURES. If not you probably have an invalid Qwt installation and you need to reinstall Qwt like being described in the Install advices.

    Uwe

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

    Momergil (29th October 2015)

  4. #3
    Join Date
    Jun 2011
    Location
    Porto Alegre, Brazil
    Posts
    482
    Thanks
    165
    Thanked 2 Times in 2 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Error finding qwt include files when trying to install qwtpolar in Windows

    Quote Originally Posted by Uwe View Post
    Check your files in "C:\Qt\Qwt-6.1.2\features". If everything looks o.k. you could try to modify "qwtpolarbuild.pri" and replace "CONFIG += qwt" by "include ( C:\Qt\Qwt-6.1.2\features/qwt.prf )".
    Hi, Uwe!

    Thanks for the help; the change worked.

    If you want, you may put the same answer in SO and I'll accept it.


    Momergil
    May the Lord be with you. Always.

  5. #4
    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: Error finding qwt include files when trying to install qwtpolar in Windows

    Well it is more a workaround, than a solution, but it showed, that your installation is fine and your problem is simply a bad setting of QMAKEFEATURES. Setting the path in a correct syntax should also not be that hard.

    Uwe

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

    Momergil (11th November 2015)

Similar Threads

  1. How to Include QwtPolar in Project
    By cr7tiano in forum Qwt
    Replies: 3
    Last Post: 8th April 2014, 00:05
  2. Replies: 5
    Last Post: 30th October 2012, 09:52
  3. Replies: 5
    Last Post: 6th June 2011, 10:56
  4. Finding Files
    By arbi in forum Qt Programming
    Replies: 4
    Last Post: 21st August 2009, 15:30
  5. Replies: 2
    Last Post: 23rd November 2007, 18:44

Tags for this Thread

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.