--- qwt-6.2.0/qwtconfig.pri.bak	2021-07-27 05:59:33.324111100 +0100
+++ qwt-6.2.0/qwtconfig.pri	2021-07-27 04:41:15.668293500 +0100
@@ -170,7 +170,7 @@
 # See http://www.freedesktop.org/wiki/Software/pkg-config/
 ######################################################################
 
-unix {
+unix|win32 {
 
     QWT_CONFIG     += QwtPkgConfig
 }
--- a/src/src.pro
+++ b/src/src.pro
@@ -73,6 +73,7 @@

     QMAKE_PKGCONFIG_NAME = Qwt$${QWT_VER_MAJ}
     QMAKE_PKGCONFIG_DESCRIPTION = Qt Widgets for Technical Applications
+    QMAKE_PKGCONFIG_VERSION = $$QWT_VERSION

     QMAKE_PKGCONFIG_LIBDIR = $${QWT_INSTALL_LIBS}
     QMAKE_PKGCONFIG_INCDIR = $${QWT_INSTALL_HEADERS}
@@ -82,14 +83,14 @@
     greaterThan(QT_MAJOR_VERSION, 4) {

         QMAKE_PKGCONFIG_FILE = Qt$${QT_MAJOR_VERSION}$${QMAKE_PKGCONFIG_NAME}
-        QMAKE_PKGCONFIG_REQUIRES = Qt5Widgets Qt5Concurrent Qt5PrintSupport
+        QMAKE_PKGCONFIG_REQUIRES = Qt$${QT_MAJOR_VERSION}Widgets Qt$${QT_MAJOR_VERSION}Concurrent Qt$${QT_MAJOR_VERSION}PrintSupport

         contains(QWT_CONFIG, QwtSvg) {
-            QMAKE_PKGCONFIG_REQUIRES += Qt5Svg
+            QMAKE_PKGCONFIG_REQUIRES += Qt$${QT_MAJOR_VERSION}Svg
         }

         contains(QWT_CONFIG, QwtOpenGL) {
-            QMAKE_PKGCONFIG_REQUIRES += Qt5OpenGL
+            QMAKE_PKGCONFIG_REQUIRES += Qt$${QT_MAJOR_VERSION}OpenGL
         }

         QMAKE_DISTCLEAN += $${DESTDIR}/$${QMAKE_PKGCONFIG_DESTDIR}/$${QMAKE_PKGCONFIG_FILE}.pc
