PDA

View Full Version : GLC_lib



sdastagirmca
16th July 2009, 10:02
hi,

how to add the GLC_lib with qt..


regards
S.Dastagir

yogeshgokul
16th July 2009, 10:08
Do you really need that, Qt already have OpenGL support.

yogeshgokul
16th July 2009, 10:19
On windows, just download and install GLC_Lib.
After installation, add these line to your project's .pro file.



QT += opengl

win32 {
LIBS += -L"$$(GLC_LIB_DIR)/lib" -lGLC_lib
INCLUDEPATH += "$$(GLC_LIB_DIR)/include"
}


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



unix {
LIBS += -lGLC_lib
INCLUDEPATH += "/usr/include/GLC_lib"
}

sdastagirmca
16th July 2009, 12:43
hi yokesh,

I have downloaded that but i need to know how to place the include folder ,lib3ds and gltext in linux..

regards
Dastagir

yogeshgokul
16th July 2009, 12:50
hi yokesh,
Its Yogesh :)




I have downloaded that but i need to know how to place the include folder ,lib3ds and gltext in linux..
Just download the source and build, it will generate lib files and dlls in OS's respective libs folder.