Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.2.0
-
None
Description
The moc generates a single string literal that is stored into the 'stringdata' member of the 'qt_meta_stringdata_<namespace>_<class>_t' structure. If a class has a large number of enums constants, properties, then this string literal grows large enough that it hits the compiler limits.
For instance, with Microsoft Visual C++ 9.0 compiler, the limit is 65535 for a single string literal.
Attachments
For Gerrit Dashboard: QTBUG-36500 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
98234,1 | WIP: Fix maximal literal string limitation in moc. | 5.4 | qt/qtbase | Status: ABANDONED | -1 | 0 |
98496,6 | Fix maximal literal string limitation in moc. | dev | qt/qtbase | Status: MERGED | +2 | 0 |