About inconsistent dll linkage

前端 未结 7 723
遥遥无期
遥遥无期 2020-12-29 01:25

How can I remove this link warning? You can see code segment that causes this warning.

static AFX_EXTENSION_MODULE GuiCtrlsDLL = { NULL, NULL };
//bla bla
//         


        
相关标签:
7条回答
  • 2020-12-29 02:17

    In my case, error C4273 was caused by trying linking to .lib file from a DLL dynamic load tester app in Qt5 by msvc2017_64 toolchain. Removing the reference to .lib file by changing LIBS setting in .pro file have the problem solved.

    0 讨论(0)
提交回复
热议问题