Qt4: Fixed up include paths to work also with Qt4.
CMake: Fixed Qt4 linkage and slightly updated support for libarchive

The smooth integration of libarchive still requires more attention
and should be better documented.