I'm trying to add Casablanca to a C++/Qt-Creator project on Linux in order to consume some Rest-Services. But the compiler always says "'cpprest/http_client.h' file not found".
Casablanca built without problems and the tests also run fine.
I tried adding the library as an external library with the "Add Library Wizard". The .pro file now contains:
win32:CONFIG(release, debug|release): LIBS += -
L$$PWD/../casablanca/build.release/Binaries/release/ -lcpprest
else:win32:CONFIG(debug, debug|release): LIBS += -
L$$PWD/../casablanca/build.release/Binaries/debug/ -lcpprest
else:unix: LIBS += -L$$PWD/../casablanca/build.release/Binaries/ -lcpprest
INCLUDEPATH += $$PWD/../casablanca/build.release/Binaries
DEPENDPATH += $$PWD/../casablanca/build.release/Binaries
I would be glad if someone can help me.