无法运行Qt C ++发行版本。 “找不到过程入口点” [英] Cannot run Qt C++ release build. 'The procedure entry point could not be located'

查看:174
本文介绍了无法运行Qt C ++发行版本。 “找不到过程入口点”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试部署Qt应用程序,并遇到了致命错误。该程序在Qt编辑器中运行良好,我可以构建并运行它。在发布模式下构建项目并使用windeployqt.exe在文件夹中获取正确的.dll后,将被视为此错误消息。我得到5个不同的Qt .dll文件之一。我找到了一种方法,可以使用Qt工具中的.dll而不是编译器的bin目录中的.dll来消除此错误。但是,我剩下一个剩下的类似错误。与以前的错误不同,这里没有引用任何dll,只有我程序的目录。

I am trying to deploy my Qt application and have run into a fatal error. The program works fine in the Qt editor, I can build and run it. After building my project in release mode and using windeployqt.exe to get the correct .dll's in the folder, I am treated to this error message. I get one for 5 different Qt .dll's. I found a way to remove this error by using the .dll's from Qt tools instead of the ones found in the compiler's bin directory. But, I am left with a remaining error like this. Unlike the previous errors', there is no dll being cited, only my program's directory.

到目前为止,我已经使用2种编译器进行了尝试。 Qt提供的内容以及我自己的安装。你们都知道,都失败了。

I've tried this with 2 compilers by now. That which is provided by Qt, and my own installation. Both you can tell, have failed.

推荐答案

几年前,我刚开始学习QT时遇到了类似的问题。我尝试过的工作是将 .exe 生成的文件移到复制粘贴的位置,将 dlls 它就像魅力一样工作。您复制的 dlls 可能是错误的(也许)。尝试在Google上搜索正确的关键词!

I had a similar problem few years ago when I was just learning QT. What I tried which did worked is that to move the .exe generated file to the location from where you copy paste the dlls and it worked like charm. You are getting the wrong dlls copied (perhaps). Try searching for correct ones on google!!

这篇关于无法运行Qt C ++发行版本。 “找不到过程入口点”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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