Home > Back-end >  How to use QT dynamic library to write their own? Online methods are tried, I can't
How to use QT dynamic library to write their own? Online methods are tried, I can't

Time:09-21

DESTDIR=$$PWD/bin
INCLUDEPATH +=$$PWD/include
LIBS +=$$DESTDIR \ OutLog DLL
Pro configuration, and then, put the DLL in the LIBS include the header file is put inside, bin is put inside a DLL file


have been reported this error
Note: the DLL is 64, qt project build, both chose

CodePudding user response:

Today just encounter this error, also didn't find the problem, I had deleted project reconstruction

CodePudding user response:

Well, I've built again, still won't do,,, is there a big instruct me ah, be obliged

CodePudding user response:

If the compiler is different, the DLL and the compiler and the figures are to be used by a program, unified with mingw or msvc20xx

CodePudding user response:

The compiler's problem, if according to call is not an error, a compiler error is why the compiler, compiler

CodePudding user response:

Should put the corresponding import library DLL is. Lib on the project, rather than directly get the DLL to come in,
  • Related