find required qt components inside the cmake config
static or shared libraray based on BUILD_SHARED_LIBS