Buy a commercial license if you are intending to create a proprietary application that uses libQGLViewer.
GNU GPL license
This code is released under the terms of the GNU-GPL license.
Any software you create that uses any part of this source code (or its compiled version) will have to be open sourced under the same conditions.