Doc: Document qt_add_resources' OUTPUT_TARGETS argument
Originally, this argument was meant for internal use only. But it turned out useful for user projects too. Pick-to: 6.2 6.3 Change-Id: I58af5ca8303fa9166d41a0538a60913d1fba9784 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
6dffc1c438
commit
c93d279222
@ -28,6 +28,7 @@ qt_add_resources(<TARGET> <RESOURCE_NAME>
|
||||
[PREFIX <PATH>]
|
||||
[LANG <LANGUAGE>]
|
||||
[BASE <PATH>]
|
||||
[OUTPUT_TARGETS <VARIABLE_NAME>]
|
||||
[FILES ...] [OPTIONS ...])
|
||||
\endcode
|
||||
|
||||
@ -68,6 +69,11 @@ example, if \c BASE is \c{"assets"} and \c FILES is
|
||||
Alias settings for files need to be set via the \c QT_RESOURCE_ALIAS source file
|
||||
property.
|
||||
|
||||
When using this command with static libraries, one or more special targets will
|
||||
be generated. Should you wish to perform additional processing on these targets,
|
||||
pass a variable name to the \c OUTPUT_TARGETS parameter. The \c qt_add_resources
|
||||
function stores the names of the special targets in the specified variable.
|
||||
|
||||
\section1 Arguments of both variants
|
||||
|
||||
You can set additional \c{OPTIONS} that should be added to the \c{rcc} calls.
|
||||
|
Loading…
x
Reference in New Issue
Block a user