[libresourceqt] Fix Qt4 build