Does anyone know a qt (or c++) library supports plotting 3d plots using non grid data?

I tried qwtplot3d (using function loadFromData) but the output plot is not smooth.

What I need:
2.jpg

What I did
1.JPG


Thank you very much!