From: Ahmad Khalifa <ahmad@khalifa.ws>
Date: Wed, 14 May 2025 18:16:54 +0100
Subject: QPDF Include Deprecated PointerHolder.hh header
Forwarded: not-needed

QPDF v12 removes the include, but they keep the transition flag in place.
Explicitly include the header file until full transition.
Read about the transition flag in qpdf source: include/qpdf/PointerHolder.hh
---
--- a/src/operations/extract_images.cpp
+++ b/src/operations/extract_images.cpp
@@ -18,10 +18,14 @@
 
 #include "extract_images.h"
 
+//temp compatibility with qpdf-12 which removed PointerHolder.hh include
+#define POINTERHOLDER_TRANSITION 0
+
 #include <QVBoxLayout>
 #include <QLabel>
 #include <QFileDialog>
 #include <qpdf/QPDF.hh>
+#include <qpdf/PointerHolder.hh>
 #include <Magick++/Blob.h>
 #include <Magick++/Image.h>
 #include <fstream>
