You need the 'devel' package for qt5-qtdeclarative to build it.
Oh, and the "use the SDK" answer is really what you want to hear.