I am working on Qt project. I have installed QJson successfully. And have used parser to parse the data.My code get compiled successfully but at run time it is giving me following error:
dyld: Library not loaded: libqjson.0.dylib
Referenced from: /Users/sanjay/untitled1-build-desktop-Qt_4_8_3_in_PATH_System_Debug/untitled1.app/Contents/MacOS/untitled1
Reason: image not found
I have added library as external library in Qt creater. It added following code to my .pro file:
macx: LIBS += -L$$PWD/../build/_preferred_path_/lib/ -lqjson
INCLUDEPATH += $$PWD/../build/_preferred_path_/include/qjson
DEPENDPATH += $$PWD/../build/_preferred_path_/include/qjson
Could anybody tell me please What am I doing wrong?