![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C/C++
luoning12
这个作者很懒,什么都没留下…
展开
-
Qt Creator LNK1104:无法打开文件“Files.obj”
问题 当在Qt Creator中包含外部库时,在*.pro文件中添加一下内容: 之后,运行程序会报错: 解决 这是由于Program Files (x86)这个路径导致的,可能Qt Creator无法识别吧,把它换成PROGRA~2就行了原创 2020-05-09 15:26:04 · 2278 阅读 · 0 评论 -
dllimport和dllexport的作用
疑问 经常在一些项目的源代码中看到如下所示的代码,这究竟有何用意呢? #ifdef DLL_EXPORTS #define SIMPLE_EXPORT __declspec(dllexport) #else #define SIMPLE_EXPORT __declspec(dllimport) #endif dllexport vs dllimprot 先解释一下__de...原创 2020-04-13 21:17:29 · 548 阅读 · 0 评论