Qt5 plugin installation changes.

Changes to *.pro files so that installation path and used Qt modules are correct for Qt5.