MSVC2013-找不到入口点 [英] MSVC2013 - Entry Point Not Found

查看:144
本文介绍了MSVC2013-找不到入口点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近安装了Visual Studio 2013的Qt加载项.当我使用MSVC2013在Qt Creator或Visual Studio中构建项目时,它的构建没有错误,但只能在IDE内部运行.如果我尝试通过单击.exe来运行它,则会出现错误:过程入口点?qt_metacast @ QMenuBar @@ UAEPAXPBD @ Z不能位于动态链接库中".

I recently installed the Qt add-inn for visual studio 2013. When I build a project in either Qt Creator or Visual Studio using MSVC2013 it builds without errors, but can only be run from inside the IDE. If I try to run it by clicking the .exe, it gives an error: "The procedure entry point ?qt_metacast@QMenuBar@@UAEPAXPBD@Z could not be located in the dynamic link library".

从我在线上进行的研究中,我发现可以在.exe目录中添加正确的.dll文件来解决.我需要哪些.dll文件,或者我做错了什么?

From the research I have done online, I found that it could be something to do about adding the correct .dll files in my .exe directory. Which .dll files do I need or is there something else I'm doing wrong?

我为Qt5安装了 Visual Studio插件1.2.4 来自Qt网站.

I installed the Visual Studio Add-in 1.2.4 for Qt5 from the Qt website.

推荐答案

DLL s对于这种类型的库来说,使用的不必要地大.您应该进行Qt静态编译,以便将所需的函数嵌入到*.exe中.

DLLs for this kind of libraries use to be unnecessarily big. You should make a Qt static compilation so that your needed functions are embed into your *.exe.

这篇关于MSVC2013-找不到入口点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆