Home > Mobile >  Under Windows qt connected mongo database, urgent for great god answer!!!!!!
Under Windows qt connected mongo database, urgent for great god answer!!!!!!

Time:09-23

I qt small white one, because of the need to use qt recently connected mongo, baidu is vs the connection, I also spent a few days with vs2010 compiled mongo's c + + driver, finally can also be operated under the vs the mongo, but qt or even mongo, qt connected mongo tutorial rarely search on the net, want to know the great god help the younger brother to solve, thank!!!!!!

CodePudding user response:

Even not on why stick? Open database not successful? Driver is loaded successfully, which can be connected to the cause of the failure for knew why not,

CodePudding user response:

I will be compiled files are added

CodePudding user response:

CodePudding user response:

Is it because I'm compiling with mingw version and mingw versions of qt creator bring different result in an error.

CodePudding user response:

What you posted above is compiled problem? Is an error?

CodePudding user response:

Ok compilation problems, do you have any Suggestions, I again with qt with mingw compilation, compile the boost before at the time of compilation of directing a c + + driver tips can 't find the boost don't know why, I clearly will be compiled under the boost in mingw include inside, turn to attack

CodePudding user response:

Problem solved, please? I don't have compiled version of the debug version of the problem, and the release version shows the access violation reading

CodePudding user response:

Check the compiler options, see if the Release version on path under any configured,

CodePudding user response:

Great god: hello, I am a little white, now all get MinGW compiler mongo CXX - drievr method, could you share some tutorials ah, thank you very much!!

CodePudding user response:

Qt does not support the mongo, you can only use c + + realize the connection and operation mongo,

CodePudding user response:

I think you can consult others mature project, for example RoboMongo, of course, I now is the server node program, and then use the client calls, through the HTTP protocol to access mongo database with mongoose,

CodePudding user response:

Qt VS can do can do, but to build environment of QtCreator with VS, cannot use mingw

CodePudding user response:

And, more recently, for your problem solved not in qt connected mongo still hope to give directions
  •  Tags:  
  • Qt
  • Related