1 Attachment(s)
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:
Attachment 11476
Well I ran out of options. What should I do?
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
Re: Error finding qwt include files when trying to install qwtpolar in Windows
Quote:
Originally Posted by
Uwe
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
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