Home > Mobile >  Using minGW compiler Qt how to use vs2017 compiled DLL file
Using minGW compiler Qt how to use vs2017 compiled DLL file

Time:09-22

Use Qt5.5.0, only the MinGW compiler, but external libraries is MSVC compiled, must carry on the link now, I speak according to online all export interface to extern "C" form, also with reimp. Lib file conversion. A, but a run abnormal exit, the most headache is, download the MSVC version of Qt he undetectable on my computer compiler
Have any Qt son hand to help find out what is going on

CodePudding user response:

Have a great god,,,

CodePudding user response:

As long as it is C method, the dynamic invocation is absolutely no problem, but it is not static

CodePudding user response:

refer to the second floor Jonix response:
as long as it is C method, the dynamic invocation is absolutely no problem, but it is not necessarily static

Thank you for your answer! I just want to introduce a DLL, but MSVC compiled lib and DLL two files, I import library in Qt also can introduce to the lib files

CodePudding user response:

You scored clear: dynamic library, static library, import library
http://blog.chinaunix.net/uid-29355319-id-4043188.html

CodePudding user response:

reference 4 floor donwmufromdying response:
you points clear: dynamic library, static library, import library
http://blog.chinaunix.net/uid-29355319-id-4043188.html

Thank you very much
  •  Tags:  
  • Qt
  • Related