程序入口点不能位于动态链接库中 [英] The procedure entry point could not be located in dynamic link library

查看:378
本文介绍了程序入口点不能位于动态链接库中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I have the following error when open my application.

我使用 windows 7 32位平台和 Qt v5.3.1 MinGW 4.8.2 - 32bit 编译器。

所有dll的文件与 Qt5Core.dll 5.3.1 版本已经存在。

我不知道如何解决这个问题。

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

推荐答案

可能你会得到这个错误,因为你使用的dlls从QtCreator目录,没有编译的 mingw (通常QtCreator编译与Microsoft Visual Studio Windows )

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)

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

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

使用 mingw 编译的应用程序需要dll, code> mingw

App which was compiled with mingw needs dll which compiled with mingw too.

这篇关于程序入口点不能位于动态链接库中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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