Set cmake for building a QT based GUI