From df74e52578bf52ce1606630479a819c259aa6654 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20K=C3=B6hne?= Date: Mon, 23 Sep 2024 10:17:45 +0200 Subject: [PATCH] Doc: Fix documented compress-algorithm attribute in .qrc files The command line option is compress-algo, but in XML, it's compression-algorithm. Fixes: QTBUG-126953 Change-Id: I5ac631a5f5984d1a80781e8c1a42719686dbf27d Reviewed-by: hjk (cherry picked from commit 766d395f77146d9b08ef8a50d15d21b1e279a9b6) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/doc/src/resource-system.qdoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/corelib/doc/src/resource-system.qdoc b/src/corelib/doc/src/resource-system.qdoc index 7c7613c9b81..53491bb1c2f 100644 --- a/src/corelib/doc/src/resource-system.qdoc +++ b/src/corelib/doc/src/resource-system.qdoc @@ -279,12 +279,12 @@ rcc -compress 2 -compress-algo zlib myresources.qrc \endcode - It is also possible to use \c threshold, \c compress, and \c compress-algo - as attributes in a .qrc \c file tag. + It is also possible to use \c compress, \c threshold as attributes in a .qrc \c file tag. + For selecting the algorithm, set the \c compression-algorithm attribute. \code - data.txt + data.txt \endcode