diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2023-08-31 13:41:35 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-09-04 11:54:42 +0000 |
commit | 04fb59d845736635a6b82d10981bfc8fd4dbee6b (patch) | |
tree | bae654421fa6986b421a84187556f5b883873016 | |
parent | 8e625be05c102a22eb4b98ef7f8a4690d925c349 (diff) |
Add information about QT_DISCARD_FILE_CONTENTS to whatsnew
This was added in 6.6 and apparently it's a rather important feature.
Change-Id: I7d3a692b7f8a7b840b541bf38f0581067bbfa8fb
Reviewed-by: Vladimir Minenko <vladimir.minenko@qt.io>
Reviewed-by: hjk <hjk@qt.io>
(cherry picked from commit 3c61574f21d12bc522a74a06a03e4959a7bd6e62)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | doc/src/whatsnew/whatsnew66.qdoc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/src/whatsnew/whatsnew66.qdoc b/doc/src/whatsnew/whatsnew66.qdoc index 507d1b6cb..830f23f92 100644 --- a/doc/src/whatsnew/whatsnew66.qdoc +++ b/doc/src/whatsnew/whatsnew66.qdoc @@ -40,6 +40,11 @@ QVarLengthArray, QList, QByteArray and QString. These functions are a convenient way to assign new data while reusing the existing \c {capacity()}. + \li You can omit the \e contents of any file added to the resource file + system by specifying the QT_DISCARD_FILE_CONTENTS source file + property in CMakeLists.txt. The file \e nodes will be retained. When + manually writing \c .qrc files you can achieve the same effect + by setting the \c empty attribute of a \c file XML node to \c true. \endlist \section2 Qt GRPC Module |