Search code examples
wrapperqt-creatorlibjpeg

Adding jpeg library to C++ Qt Creator Project in ubuntu?


I want to create a wrapper class for existing jpeg library. I have created the project in Qt creator ? Can anyone tell me how to link libjpeg8 in Qt Creator?


Solution

  • Just add

    LIBS += -L/usr/lib -ljpeg8
    

    in your .pro file