MSVC2013 - 找不到入口点

MSVC2013 - Entry Point Not Found

我最近为 visual studio 2013 安装了 Qt add-inn。当我在 Qt Creator 或 Visual Studio 中使用 MSVC2013 构建项目时,它构建没有错误,但只能是 运行 来自 IDE。如果我尝试通过单击 .exe 来 运行 它,它会给出一个错误:"The procedure entry point ?qt_metacast@QMenuBar@@UAEPAXPBD@Z could not be located in the dynamic link library".

根据我在网上所做的研究,我发现可能需要在我的 .exe 目录中添加正确的 .dll 文件。我需要哪些 .dll 文件或者我做错了什么?

我从 Qt 网站安装了 Visual Studio Add-in 1.2.4 for Qt5

DLLs 对于这种类型的库过去是不必要的大。您应该进行 Qt 静态编译,以便将您需要的功能嵌入到您的 *.exe.