I'm compiling a big project (~40 libraries and 1 executable) using QtCreator /w Qt 5.6 for Android. QtCreator uses "mingw492_32\bin\mingw32-make.exe" to operate the build.
When I compile with default options, all my project compiles fine.
When I add -j4 or -j8 to mingw32-make.exe command within QtCreator project settings, the build is faster but randomly fails. At some point, while library B links with A, I can see in the log that it tries to link B while A compilation is not completed yet, so it reports cannot open ..../libA.so.
Note that:
- the fact that
Blinks withAis managed byLIBS += -l$$OUT_PWD/../../lib/A/libA.soinB's .pro file Bappears afterAin top level .pro file (SUBDIRS += A.pro B.pro)