[QT] Insufficient heap space of the compiler during QT development

1. Compilation failed

insert image description here

2. The cause of the problem

Due to the addition of more than a dozen image files, the heap space is insufficient because the resource file is too large

3. Solution

.proAdd in the fileCONFIG += resources_big

4. Successful compilation

insert image description here

Guess you like

Origin blog.csdn.net/Cappuccino_jay/article/details/126363661