Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.14.1
-
None
Description
As the Rcc creates anonymous namespace with a struct called "dummy", like :
namespace {
struct initializer
~initializer() { QT_RCC_MANGLE_NAMESPACE(qCleanupResources_qrc_maclass)(); }
} dummy;
}
you can't have unity builds with multiples generated _rcc.cpp files ( for now i am obliged to exclude them from unity build )
the compilation fail "dummy struct already defined"
can we have a similar option to have a non anonymous namespace ?
--namespace myname
or an option to prefix dummy structure --prefixStruct maStruct ?
thx
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-81900 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
353603,2 | rcc: Make resource initialization struct unique to support unity builds | dev | qt/qtbase | Status: DEFERRED | -1 | 0 |