Skip to content

Draft: Use QCoreApplication for resources and agents

Carl Schwan requested to merge work/carl/core-application into master

This masively reduces memory usages for each agents/resources from around 20~40MB to 5-20MB.

Currently doesn't work for each agents as this breaks message boxes and dialogs, so can only be merged once every agents/resources is ported away from direct usage of QtWidgets.

Alternatively we could create a new initCore method that initiates a QCoreApplication and let agents and resources opt-in to that.

Merge request reports