diff options
author | Marc Mutz <marc.mutz@qt.io> | 2021-11-25 10:35:33 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2021-12-07 15:57:33 +0100 |
commit | f898128ee2433201025df4ae07f73e8109376d32 (patch) | |
tree | fd6fafe4752b0d69812e18df13a4e9a5f6f500c4 /src/widgets/doc/snippets/code/src_gui_kernel_qwidget.cpp | |
parent | 70e765b1c583e5742553aee81a535d7f564f332a (diff) |
tst_qmetatype: factor the most expensive test into its own TU
The PRINT_2ARD_TEMPLATE macro expansion alone is responsible for about
50% of the compile time and RAM requirements of tst_qmetatype.cpp. By
factoring it into its own TU, we reduce the maximum memory load on my
machine from 4.0GiB to 2.5GiB, provided we don't parallelize the
build, then we take 0.5GiB more.
This is a quick-fix for the QNX build problems currently plaguing the
CI. Going forward, we should probably have a better solution, whatever
that may be.
Task-number: QTQAINFRA-4669
Change-Id: I2732b4c25b369b15cce1c7afe222d041ecb6795a
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/code/src_gui_kernel_qwidget.cpp')
0 files changed, 0 insertions, 0 deletions