[libresourceqt] Fix Qt5 build.