cipher: Fix build on Qt4