summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2016-08-15 07:07:36 (GMT)
committerBrad King <brad.king@kitware.com>2016-08-15 12:57:17 (GMT)
commit61a607e8d43e0d02ff80cca6e60441f56a6741b5 (patch)
tree1650698295d743c0e389cf05e0d478db3bf38300
parente4f508e42397549cd966e47349d4030cb793c354 (diff)
downloadCMake-61a607e8d43e0d02ff80cca6e60441f56a6741b5.zip
CMake-61a607e8d43e0d02ff80cca6e60441f56a6741b5.tar.gz
CMake-61a607e8d43e0d02ff80cca6e60441f56a6741b5.tar.bz2
Help: Document AUTORCC behavior for same .qrc name case
-rw-r--r--Help/prop_tgt/AUTORCC.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/prop_tgt/AUTORCC.rst b/Help/prop_tgt/AUTORCC.rst
index 8dce6b1..158fdf8 100644
--- a/Help/prop_tgt/AUTORCC.rst
+++ b/Help/prop_tgt/AUTORCC.rst
@@ -19,5 +19,10 @@ Additional command line options for rcc can be set via the
The global property :prop_gbl:`AUTOGEN_TARGETS_FOLDER` can be used to group
the autorcc targets together in an IDE, e.g. in MSVS.
+When there are multiple ``.qrc`` files with the same name, CMake will
+generate unspecified unique names for ``rcc``. Therefore if
+``Q_INIT_RESOURCE()`` or ``Q_CLEANUP_RESOURCE()`` need to be used the
+``.qrc`` file name must be unique.
+
See the :manual:`cmake-qt(7)` manual for more information on using CMake
with Qt.