C++ 在动态链接库中找不到过程入口点

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/25524620/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-28 11:20:27  来源:igfitidea点击:

The procedure entry point could not be located in dynamic link library

c++qtdllqt5

提问by Lion King

I have the following error when open my application.

打开我的应用程序时出现以下错误。

I'm use windows 7 32bitplatform, and Qt v5.3.1with MinGW 4.8.2 - 32bitcompiler .
All dll's files with Qt5Core.dllfor 5.3.1version already exists .
I don't know how to solve this problem.

我使用windows 7 32bit平台,并Qt v5.3.1使用MinGW 4.8.2 - 32bit编译器。
所有带有Qt5Core.dllfor5.3.1版本的dll 文件都已经存在。
我不知道如何解决这个问题。

回答by Kosovan

Probably you get this error because you use dlls from QtCreator directory which was not compiled with mingw(often QtCreator compiled with Microsoft visual studio on Windows)

可能您收到此错误是因为您使用了未编译的 QtCreator 目录中的 dll mingw(通常是使用 Windows 上的 Microsoft Visual Studio 编译的 QtCreator)

You should use dlls from C:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin(for example) .

您应该使用C:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin(例如) 中的dll 。

App which was compiled with mingwneeds dll which compiled with mingwtoo.

使用编译的应用程序也mingw需要使用编译的 dll mingw