On Tue, Feb 24, 2015 at 9:12 AM, Ola Røer Thorsen <o...@silentwings.no> wrote: > > > 2015-02-24 8:51 GMT+01:00 Mathieu Slabbinck <matty.slabbi...@gmail.com>: >> >> >> So my question here: how can I make a qt project that compiles libx >> before starting on the app itself, disregarding multiple jobs. >> > > Hi, I think doing something like this in your subdir project file will help: > > TEMPLATE = subdirs > SUBDIRS = SomeLibrary TheApplication > TheApplication.depends = SomeLibrary > > This will make sure that TheApplication is built after SomeLibrary, also > with -j4. > > Best regards, > Ola > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest >
Thanks for the clues. I've found some additional issues regarding my project structure which caused the problem. I had a toplevel project that already contained cpp & h files to compile. This probably resulted in the parallel jobs which shouldn't happen. Thanks for helping out! Kr _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest