You can either use exactly the same pattern with paths and library names that match qwtpolar:
QWTPOLAR_LOCATION = /usr/local/qwtpolar-1.1.0-svn-qt4
INCLUDEPATH += $${QWTPOLAR_LOCATION}/include/
LIBS = -L$${QWTPOLAR_LOCATION}/lib -lqwtpolar
QWTPOLAR_LOCATION = /usr/local/qwtpolar-1.1.0-svn-qt4
INCLUDEPATH += $${QWTPOLAR_LOCATION}/include/
LIBS = -L$${QWTPOLAR_LOCATION}/lib -lqwtpolar
To copy to clipboard, switch view to plain text mode
Alternatively you can include both qwt and qwtpolar in your project using the instructions at the bottom of each library's INSTALL text file.
// leave all the other stuff out and
CONFIG += qwt qwtpolar
// leave all the other stuff out and
CONFIG += qwt qwtpolar
To copy to clipboard, switch view to plain text mode
If you have built qwt/qwtpolar and run "make install" as in the instructions then the qwt.prf and qwtpolar.prf files may be in the default serach location. If not, then you might need to give qmake a few other places to look:
$ qmake -query QMAKEFEATURES
// nothing
$ qmake -set QMAKEFEATURES "/usr/local/qwt-6.1.0-svn-qt4/features:/usr/local/qwtpolar-1.1.0-svn-qt4/features"
$ qmake -query QMAKEFEATURES
/usr/local/qwt-6.1.0-svn-qt4/features:/usr/local/qwtpolar-1.1.0-svn-qt4/features
$ qmake yourproject.pro
// etc...
$ qmake -query QMAKEFEATURES
// nothing
$ qmake -set QMAKEFEATURES "/usr/local/qwt-6.1.0-svn-qt4/features:/usr/local/qwtpolar-1.1.0-svn-qt4/features"
$ qmake -query QMAKEFEATURES
/usr/local/qwt-6.1.0-svn-qt4/features:/usr/local/qwtpolar-1.1.0-svn-qt4/features
$ qmake yourproject.pro
// etc...
To copy to clipboard, switch view to plain text mode
Bookmarks