i have installed mongocxx driver, and use visual studio 2019 connect to mongodb successfully . when i use the same code in qt, it failed! but why?any help please!
The error message is complaining that it’s finding characters non-UTF8 characters in the string.
Can you Check for Hidden Characters? Ensure that there are no hidden or non-printable characters in your URI string. Sometimes, copying and pasting code can introduce such characters.
Can you also show the code you are using to create mongocxx::client with Qt?
thanks, i have solved it, the reason is that i made cxx driver in realease mode but run it in debug mode on qt