--- a/designer/designer.pro
+++ b/designer/designer.pro
@@ -99,7 +99,7 @@
         # into the plugin. Not supported on Windows !
 
         QMAKE_RPATHDIR *= $${QWT_INSTALL_LIBS}
-        qwtAddLibrary($${QWT_OUT_ROOT}/lib, qwt)
+        qwtAddLibrary($${QWT_OUT_ROOT}/lib, qwt-qt$${QT_MAJOR_VERSION})
 
         contains(QWT_CONFIG, QwtDll) {
 
--- a/src/src.pro
+++ b/src/src.pro
@@ -17,7 +17,7 @@
 QWT_OUT_ROOT = $${OUT_PWD}/..
 
 TEMPLATE          = lib
-TARGET            = $$qwtLibraryTarget(qwt)
+TARGET            = $$qwtLibraryTarget(qwt-qt$${QT_MAJOR_VERSION})
 
 DESTDIR           = $${QWT_OUT_ROOT}/lib
 
