Interestingly enough I returned to compiling the Slackware qt5 package after some upgrades to my computer including a boost to 64gb RAM:
Code:
WARNING: zero length file usr/include/qt5/QtXml/5.15.3/QtXml/private/qtxml-config_p.h
WARNING: zero length file usr/lib64/qt5/qml/QtQuick/Controls/Styles/Flat/plugins.qmltypes
Slackware package /tmp/qt5-5.15.3_20220407_9b1efa0e-x86_64-1.txz created.
real 71m7.391s
user 1816m23.990s
sys 105m23.189s
root@ilium/home/andrew/ssd2/Slackware/slackware64-current/source/l/qt5#
So this was without using zram and I noted at the maximum a RAM usage of 75% of the available 64gb RAM. So that pretty much pegs the amount of memory required.
I replaced the thermal paste on the CPU / AIO while I was in there and this pleasingly allowed a cooler compile with a maximum CPU temp of about 50 degrees Celcius (122 degrees Fahrenheit).