Please note that QGIS Web Client version 1 is not actively maintained anymore. It has been superseded by QGIS web client 2 (QWC2). This is a WMS based webgis client ...
The example below shows how to take a raw GeoStyler style, use the OpenLayersParser to parse the style into an OpenLayers style, and then apply it to an OpenLayers vector layer.