Bezier patch

Hi,

I need to have a m x n bezier patch. I am using Qt3d to draw bezier patch but the bezier patch are not joined : I am trying to find how to calculate the control point to have smooth joined bezier patch ?

If anybody know an open source lib that have build in opengl drawing from bezier controls points?