The header files are only needed for compilation. For installing and running, only the libraries are needed. So I would guess that you need to specify boost-devel and qt-devel in BuildRequires, and boost and qt in Requires. But better ask someone who is familiar with Fedora packaging.