MongoDB.live, free & fully virtual. June 9th - 10th. Register Now MongoDB.live, free & fully virtual. June 9th - 10th. Register Now

MongoDB linking errors in Qt Creator

Hello everybody,
I’m creating an application in Qt Creator. The librarys are correctly included, but when I write mongocxx::instance inst{}; mongocxx::client conn{ mongocxx::uri{"my connection string"} }; bsoncxx::builder::stream::document document{};

I get lots of errors:
Uploading: image.png…

The compiler settings are:
Uploading: image.png(1)…

Does anyone have an idea? Please let me know if you need my .pro file too.

Hi @Simon_Reitbauer,

Both of the images that you attached on the post above have broken links. It’d be helpful if you could post the errors again.

Also, it would be helpful to know which MongoDB C++ driver version and Qt version that you’re using.

Regards,
Wan.