Using common build artifacts (object files, moc files) avoids recompiling whole lib and other shared files separately for each test.