diff -Nur qwt-5.2.1.orig//qwtconfig.pri qwt-5.2.1//qwtconfig.pri
--- qwt-5.2.1.orig//qwtconfig.pri	2010-04-11 11:55:06.000000000 +0200
+++ qwt-5.2.1//qwtconfig.pri	2010-05-02 15:00:32.719502052 +0200
@@ -8,14 +8,14 @@
 VERSION      = $${VER_MAJ}.$${VER_MIN}.$${VER_PAT}
 
 unix {
-    INSTALLBASE    = /usr/local/qwt-5.2.1
+    INSTALLBASE    = /usr
 }
 
 win32 {
     INSTALLBASE    = C:/Qwt-5.2.1
 }
 
-target.path    = $$INSTALLBASE/lib
+target.path    = $$INSTALLBASE/@BASELIBDIR@
 headers.path   = $$INSTALLBASE/include
 doc.path       = $$INSTALLBASE/doc
 
