I know that you can add -j1 flag to make, but how can you do it in QMake? Long time ago there was a variable MAKEFLAGS but now there're hundreds of different variables instead: https://doc.qt.io/qt-5/qmake-variable-reference.html
I tried to add this flag to QMAKE_LFLAGS, to QMAKE_CXXFLAGS and so on, it didn't help, I still got this line in compile output
15:23:29: Starting: "/usr/bin/make" -j2
QMAKE_EXTRA_TARGETS *= .NOTPARALLEL
in order to enable single threaded builds per .pro file.
Not well documented but you can find it here: https://github.com/qt-labs/jom/blob/master/changelog.txt