Qt 5 installs its CMake files with targets, Qt 4 doesn't it has a use file instead.
I'm following what Qt does here. We can probably export targets for the Qt 4 build too, automatically include Qt's use file and users will probably have to add ${QTXDG_LIBRARIES} to the target_link_libraries.