码迷,mamicode.com
首页 > 其他好文 > 详细

新的疑问(未解决):VC项目的配置,不是都能在Project -- Properties里设置解决的

时间:2015-09-23 23:25:21      阅读:1544      评论:0      收藏:0      [点我收藏+]

标签:

所以死活解决不了引入外部库的LPCWSTR参数传递问题。而用VS新建的项目,就没有这个问题。

我怀疑是当初.pro文件产生VC项目文件时候,做了一些设置,但是内容太长了,又很复杂,所以没法核对。

用VS新建一个Qt项目,然后导入项目所有的.h .cpp .ui 和资源文件,问题解决。但是又来了新的问题:

_plugin_import.obj : error LNK2019: unresolved external symbol "struct QStaticPlugin const __cdecl qt_static_plugin_AccessibleFactory(void)" (?qt_static_plugin_AccessibleFactory@@YA?BUQStaticPlugin@@XZ) referenced in function "public: __thiscall StaticAccessibleFactoryPluginInstance::StaticAccessibleFactoryPluginInstance(void)" (??0StaticAccessibleFactoryPluginInstance@@QAE@XZ)
_plugin_import.obj : error LNK2019: unresolved external symbol "struct QStaticPlugin const __cdecl qt_static_plugin_QGenericEnginePlugin(void)" (?qt_static_plugin_QGenericEnginePlugin@@YA?BUQStaticPlugin@@XZ) referenced in function "public: __thiscall StaticQGenericEnginePluginPluginInstance::StaticQGenericEnginePluginPluginInstance(void)" (??0StaticQGenericEnginePluginPluginInstance@@QAE@XZ)
_plugin_import.obj : error LNK2019: unresolved external symbol "struct QStaticPlugin const __cdecl qt_static_plugin_QNativeWifiEnginePlugin(void)" (?qt_static_plugin_QNativeWifiEnginePlugin@@YA?BUQStaticPlugin@@XZ) referenced in function "public: __thiscall StaticQNativeWifiEnginePluginPluginInstance::StaticQNativeWifiEnginePluginPluginInstance(void)" (??0StaticQNativeWifiEnginePluginPluginInstance@@QAE@XZ)
_plugin_import.obj : error LNK2019: unresolved external symbol "struct QStaticPlugin const __cdecl qt_static_plugin_QWindowsIntegrationPlugin(void)" (?qt_static_plugin_QWindowsIntegrationPlugin@@YA?BUQStaticPlugin@@XZ) referenced in function "public: __thiscall StaticQWindowsIntegrationPluginPluginInstance::StaticQWindowsIntegrationPluginPluginInstance(void)" (??0StaticQWindowsIntegrationPluginPluginInstance@@QAE@XZ)
_plugin_import.obj : error LNK2019: unresolved external symbol "struct QStaticPlugin const __cdecl qt_static_plugin_QICOPlugin(void)" (?qt_static_plugin_QICOPlugin@@YA?BUQStaticPlugin@@XZ) referenced in function "public: __thiscall StaticQICOPluginPluginInstance::StaticQICOPluginPluginInstance(void)" (??0StaticQICOPluginPluginInstance@@QAE@XZ)

 

浪费了1天多的时间,算了,不研究了。准备用新建一个QT5的项目,然后用VS的QT插件重新转化成VC项目。

 

新的疑问(未解决):VC项目的配置,不是都能在Project -- Properties里设置解决的

标签:

原文地址:http://www.cnblogs.com/findumars/p/4833860.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!