diff --git a/general/graphlib/poppler.xml b/general/graphlib/poppler.xml
index fe13b8b9e3..4a8407c3fa 100644
--- a/general/graphlib/poppler.xml
+++ b/general/graphlib/poppler.xml
@@ -131,8 +131,10 @@
,
,
,
- , and
-
+ ,
+ , and
+ &qt5-deps;
+ (required for PDF support in )
Optional
@@ -143,10 +145,8 @@
,
,
,
- ,
- &qt5-deps;
- (required for PDF support in ), and
- Qt-6.1 or later.
+ , and
+ Qt-6.2 or later.
@@ -166,7 +166,6 @@ cd build &&
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DTESTDATADIR=$PWD/testfiles \
- -DENABLE_QT5=OFF \
-DENABLE_QT6=OFF \
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
.. &&
@@ -226,6 +225,12 @@ cd poppler-data-&poppler-data-version;
programs where the auxiliary files are located.
+
+ -DENABLE_QT6=OFF: This switch is needed to
+ prevent an error when Qt6 is not installed. Remove it if you
+ have installed qt-6.2 or later.
+
+
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON: Installs some old
Xpdf headers required by certain programs.
@@ -243,11 +248,6 @@ cd poppler-data-&poppler-data-version;
&qt5-deps; is not installed.
-
- : Use this parameter if
- Qt6 is not installed.
-
-
: Use this parameter if you have
not installed boost (the Splash backend for