Home > Mobile >  QT call dynamic library to collapse
QT call dynamic library to collapse

Time:05-14

To pick up a third-party DLL, but the program is invoked a createListener (url) in the DLL function collapses
Try to call the mysql official provided by c + + API DLL is also collapse mysql_init (NULL);
What's the problem?

CodePudding user response:

Give my feeling is that because of your MSVC and MinGW combination

CodePudding user response:

QT compiler is MVSC, I again VS2015 compiler can support QT collapse dynamic libraries, but QT is always can't call a function call is out of the program

CodePudding user response:

17:03:19: starting "E: \ QT5.9\5.9.1 \ msvc2015 \ bin \ qmake exe" D: \ QTProject \ test \ untitled1 \ untitled1 pro - spec win32 - MSVC
17:03:20: process "E: \ QT5.9\5.9.1 \ msvc2015 \ bin \ qmake exe" normal exit,
17:03:20: starting "E: \ QT5.9 \ Tools \ QtCreator \ bin \ jom exe" qmake_all
Jom 1.1.2 to empower your cores
17:03:20: process "E: \ QT5.9 \ Tools \ QtCreator \ bin \ jom exe" normal exit,

Qmake a jom 1.1.2 to empower your cores such tips, don't know if this cause, this is the reason why

CodePudding user response:

General runtime collapse, is likely to be your environment and the DLL is not the same, or, maybe you is a 64 - bit app, and is a 32 bit DLL version

CodePudding user response:

Is it possible to copy the DLL to exe directory,,, this you also strange code this pot is not back

CodePudding user response:

The building Lord success? I also encountered this kind of question, QTMSVC32bit call library to collapse
  •  Tags:  
  • Qt
  • Related