So trying to use mongoDB c++ driver with QT but for some reason whenever i create a mongocxx::instance in the main.cpp file of the project i get the following output:
19:05:18: Starting D:\QT Projects\build-bancoMongoDB-Desktop_Qt_6_1_0_MSVC2019_64bit-Release\release\bancoMongoDB.exe …
19:05:18: The program has unexpectedly finished.
19:05:18: The process was ended forcefully.
19:05:19: D:\QT Projects\build-bancoMongoDB-Desktop_Qt_6_1_0_MSVC2019_64bit-Release\release\bancoMongoDB.exe crashed.
And if i comment the instance call line in the main.cpp file the program runs normally, any ideas on how to solve it?