Add support for compiling with QCA on Qt5

The maintainer for QCA insists on adding a suffix to the QCA
libname, forcing us to make a few changes to support it.