i tried linking lib by this link Adding Libraries to Projects | Qt Creator Manual.
after clicking and setting as external library
linking code came in pro file like this
win32:CONFIG(release, debug|release): LIBS += -LC:/mongo-cxx-driver/lib/ -llibmongocxx.dll else:win32:CONFIG(debug, debug|release): LIBS += -LC:/mongo-cxx-driver/lib/ -llibmongocxx.dlld INCLUDEPATH += C:/mongo-cxx-driver/include DEPENDPATH += C:/mongo-cxx-driver/include
after that i added ```
in main.cpp but error coming no such file or directory...please check...!!!