Add cmake test

Change-Id: I547f5baf12be903dab5f8df01915c23bc987ab9a
Reviewed-by: Laurent Montel <laurent.montel@kdab.com>
Reviewed-by: David Faure <david.faure@kdab.com>
Add explicit in constructor

Change-Id: I44d9bac1f472464250fb1da502d0138aa72552ba
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>