qengine library