Don't link against QtGui in cenumerator

Change-Id: Ibc730410bae66a8547733a66daa4d1dcb5808534
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>