On windows, just download and install GLC_Lib.
After installation, add these line to your project's .pro file.

Qt Code:
  1. QT += opengl
  2.  
  3. win32 {
  4. LIBS += -L"$$(GLC_LIB_DIR)/lib" -lGLC_lib
  5. INCLUDEPATH += "$$(GLC_LIB_DIR)/include"
  6. }
To copy to clipboard, switch view to plain text mode 

On unix environment, download source and build,
Then change your .pro file as.

Qt Code:
  1. unix {
  2. LIBS += -lGLC_lib
  3. INCLUDEPATH += "/usr/include/GLC_lib"
  4. }
To copy to clipboard, switch view to plain text mode