[libresourceqt] Add build depends so that tests are built after libs

Some of the tests link to the just-built libs so they can't be built
in parallel with them.