Increase the maximum recursive template depth on INTEGRITY

Set the limit to 128 instead of the default 64 by adding
QMAKE_CXXFLAGS += --pending_instantiations=128. This is
needed by QMetaType::typeName array implementation.

Change-Id: I3fd13967f862f492210572cfe7ee9ffc5e7c9745
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Kimmo Ollila 2017-03-21 00:06:23 +02:00
parent 94e6e8dfc6
commit 1dd54b5647

View File

@ -175,6 +175,9 @@ unix|integrity {
SOURCES += kernel/qsharedmemory_android.cpp \
kernel/qsystemsemaphore_android.cpp
}
# This is needed by QMetaType::typeName array implementation
integrity: QMAKE_CXXFLAGS += --pending_instantiations=128
}
vxworks {