quicktest.h-based tests capture the absolute build path. Possibly via QTEST_SET_MAIN_SOURCE_PATH in qtdeclarative5-dev.
Our notes about issues affecting packages are stored in notes.git and are targeted at packages in Debian in 'unstable/amd64' (unless they say otherwise).