Results 1 to 5 of 5

Thread: GLC_lib

  1. #1
    Join Date
    Jan 2009
    Posts
    18
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Unhappy GLC_lib

    hi,

    how to add the GLC_lib with qt..


    regards
    S.Dastagir

  2. #2
    Join Date
    Dec 2007
    Posts
    628
    Thanks
    3
    Thanked 89 Times in 87 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: GLC_lib

    Do you really need that, Qt already have OpenGL support.

  3. #3
    Join Date
    Dec 2007
    Posts
    628
    Thanks
    3
    Thanked 89 Times in 87 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: GLC_lib

    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 

  4. #4
    Join Date
    Jan 2009
    Posts
    18
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: GLC_lib

    hi yokesh,

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

    regards
    Dastagir

  5. #5
    Join Date
    Dec 2007
    Posts
    628
    Thanks
    3
    Thanked 89 Times in 87 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: GLC_lib

    Quote Originally Posted by sdastagirmca View Post
    hi yokesh,
    Its Yogesh


    Quote Originally Posted by sdastagirmca View Post
    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.