summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-08-15 12:59:46 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-08-15 12:59:46 (GMT)
commit33d4aff50d50907d05b49c92ed01376264d84389 (patch)
tree2e69f1fdcf0907c816f60c3c1f352facbf0a8340 /Help
parentd47abe40b6532095fa28f5f1305e2ecad5feb6b7 (diff)
parent61a607e8d43e0d02ff80cca6e60441f56a6741b5 (diff)
downloadCMake-33d4aff50d50907d05b49c92ed01376264d84389.zip
CMake-33d4aff50d50907d05b49c92ed01376264d84389.tar.gz
CMake-33d4aff50d50907d05b49c92ed01376264d84389.tar.bz2
Merge topic 'autogen-same-name'
61a607e8 Help: Document AUTORCC behavior for same .qrc name case e4f508e4 Tests/QtAutogen: Test same moc/qrc source names in different directories 4e9b97d7 QtAutogen: Allow multiple qrc files with the same name 41c9e14a QtAutogen: Allow multiple moc files with the same name 3c3b37b0 QtAutogen: Use std:: instead of ::std:: 0a5dd3c7 cmFilePathUuid: Add class to generate deterministic unique file names
Diffstat (limited to 'Help')
-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.