--- a/CMakeLists.txt	2020-11-02 00:32:52.000000000 +0600
+++ b/CMakeLists.txt	2024-02-29 14:50:11.536603635 +0600
@@ -780,6 +780,9 @@
   if(ENABLE_QT5)
     poppler_create_install_pkgconfig(poppler-qt5.pc ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
   endif()
+  if(ENABLE_QT6)
+    poppler_create_install_pkgconfig(poppler-qt6.pc ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
+  endif()
   if(ENABLE_GLIB)
     poppler_create_install_pkgconfig(poppler-glib.pc ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
   endif()
--- /dev/null	2024-02-29 11:08:23.708972384 +0600
+++ b/poppler-qt6.pc.cmake	2024-02-29 14:47:00.321779149 +0600
@@ -0,0 +1,12 @@
+prefix=@CMAKE_INSTALL_PREFIX@
+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
+
+Name: poppler-qt6
+Description: Qt6 bindings for poppler
+Version: @POPPLER_VERSION@
+Requires: @PC_REQUIRES@
+@PC_REQUIRES_PRIVATE@
+
+Libs: -L${libdir} -lpoppler-qt6
+Cflags: -I${includedir}/poppler/qt6 
