[Qt-interest] GL_lib for LINUX

Sujan Dasmahapatra sujan.dasmahapatra at gmail.com
Thu Nov 19 07:44:25 CET 2009


Dear Friends
Kindly view the error log I am getting while installing GLC_lib  1.2.0 in
linux. Can any  one help me get rid of this problem.
Thanks
sujan

On Mon, Nov 16, 2009 at 11:59 AM, <Oliver.Knoll at comit.ch> wrote:

> Sujan Dasmahapatra wrote on Monday, November 16, 2009 4:36 AM:
>
> > ...
> > into my Qt application now to use GLC_libs apis what should I include
> > in my profile.
>
> Just as any other library you would use, with the -l linker switch:
>
> in your *.pro
> LIBS += -lTheNameOfTheLibrary
>
> That works if the library is installed in a "well-known" (speak: in the
> LD_LIBRARY_PATH) place, e.g. /usr/lib. But you can also specify the location
> like this:
>
> LIBS += -L/path/to/your/lib -lTheNameOfTheLibrary
>
> Note: when the library is called libGLC.so for example, then
> 'TheNameOfTheLibrary' would be -lGLC (without "lib" and suffix .so).
>
> In case GLC library also provides a so-called "package configuration" (and
> such a configuration mechanism is present on your given Linux distribution),
> then you could simply use
>
>  CONFIG += link_pkgconfig
>  PKGCONFIG += TheNameOfTheLibrary
>
> Also refer to
> http://doc.trolltech.com/4.5/qmake-project-files.html#declaring-other-libraries(which you should have done in the first place before asking questions
> here).
>
> Cheers, Oliver
> --
> Oliver Knoll
> Dipl. Informatik-Ing. ETH
> COMIT AG - ++41 79 520 95 22
>  _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



-- 
Thanks & Regards
S. Dasmahapatra
B.E. (Aeronautics-Aerodynamics)
Bangalore, India
Ph:91-9900839788
Office:91-80-66470248
mail id : sujan.dasmahapatra at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091119/ab1363ac/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: application/octet-stream
Size: 18457 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091119/ab1363ac/attachment.obj 


More information about the Qt-interest-old mailing list