![QT报错:Building MFC application with MD[d] (CRT dll version) requires MFC shared dll version 错误已解决,第1张 QT报错:Building MFC application with MD[d] (CRT dll version) requires MFC shared dll version 错误已解决,第1张](/aiimages/QT%E6%8A%A5%E9%94%99%EF%BC%9ABuilding+MFC+application+with+MD%5Bd%5D+%28CRT+dll+version%29+requires+MFC+shared+dll+version+%E9%94%99%E8%AF%AF%E5%B7%B2%E8%A7%A3%E5%86%B3.png)
QT报错:Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version 错误已解决
我用qt开发SDK时,遇到了sdk的demo
调用mfc头文件stdafx.h的情况,本来想着直接把stdafx.h头文件
放到相应目录下就ok了,结果
编译的时候报错Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version,然后根据提示直接在stdafx.h头文件中加入了#define _AFXDLL宏定义解决了报错。
评论列表(0条)