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 <hjk@qt.io>
(cherry picked from commit 766d395f77146d9b08ef8a50d15d21b1e279a9b6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Kai Köhne 2024-09-23 10:17:45 +02:00 committed by Qt Cherry-pick Bot
parent 3c6618b0f0
commit df74e52578

View File

@ -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
<qresource>
<file compress="1" compress-algo="zstd">data.txt</file>
<file compress="1" compression-algorithm="zstd">data.txt</file>
</qresource>
\endcode