From 61a607e8d43e0d02ff80cca6e60441f56a6741b5 Mon Sep 17 00:00:00 2001 From: Sebastian Holtermann Date: Mon, 15 Aug 2016 09:07:36 +0200 Subject: Help: Document AUTORCC behavior for same .qrc name case --- Help/prop_tgt/AUTORCC.rst | 5 +++++ 1 file changed, 5 insertions(+) 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. -- cgit v0.12