Qt5Qmld.dll missing: could not start the simple qt application because Qt5Qmld.dll is missing

James

I compiled a quick Qt5 project successfully, and managed to open it with Run option in the Qt Creator.

But when I tried to run the executable file, located in the debug folder in my project,

it showed me this error:

The program can't start because Qt5Qmld.dll is missing from your computer. 
Try reinstalling the program to fix the problem...

I have searched and searched, but found nothing on google.

I found similar problems, but with different dlls, but not this one.

How do I fix this problem?

tro

First of all, JKSH gave you good advice -- if you want distribute your program (pr even just use it on another computer) you need to prepare Release build instead Debug build.

As for me, the simplest method to solve your problem is to use program Dependency Walker.

  1. Open your exe-file by Dependency Walker and you can see what libs you missed.
  2. Goto bin folder of your Qt installation and find all dlls Dependency Walker pointed you.
  3. Copy dlls got on (2) into directory with exe file of your application.

P.S. If you use MinGW you also need to copy next dlls: libstdc++*.dll, libgcc_*.dll. Copy all dlls as described above. Just see what Dependency Walker will say you.

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

Qt5Qmld.dll丢失:由于缺少Qt5Qmld.dll,无法启动简单的Qt应用程序

来自分类Dev

Qt在.dll中使用.dll

来自分类Dev

Qt DLL错误与OpenCV

来自分类Dev

Qt释放DLL错误

来自分类Dev

Qt和可执行dll

来自分类Dev

使用QT从dll调用函数

来自分类Dev

强制Qt5从exe目录加载SSL dll

来自分类Dev

Qt5Gui.dll 32 位架构不匹配

来自分类Dev

Qt 5将Qt5Core.dll放在一个文件夹中

来自分类Dev

如何在Visual Studio Qt中为Qt 5创建DLL项目

来自分类Dev

在Windows中的Qt中加载外部dll

来自分类Dev

Qt应用程序从Fortran调用Dll

来自分类Dev

Qt信号在外部dll中丢失

来自分类Dev

Qt应用程序从Fortran调用Dll

来自分类Dev

Qt信号在外部dll中丢失

来自分类Dev

在Qt应用程序中使用dll

来自分类Dev

C ++ dll和QT GUI之间的通信

来自分类Dev

MonoGame application says SDL.dll is missing, even though it's there. Why?

来自分类Dev

使用PyQt和信号在qt5serialport.dll中获取段错误

来自分类Dev

由于缺少Qt5Cored.dll,因此无法启动程序

来自分类Dev

在QT中导入没有.lib或.h的DLL

来自分类Dev

在哪里可以找到Qt的dll的pdb文件?

来自分类Dev

分发Qt应用程序需要什么dll?

来自分类Dev

在多个DLL中注册常见的Qt元类型

来自分类Dev

Qt不会使用exiv2.dll编译项目

来自分类Dev

由于dll问题而无法编译Qt项目

来自分类Dev

我需要在Qt中使用CryptoPP DLL吗?

来自分类Dev

在Visual Studio 2010的dll项目中包含Qt工具

来自分类Dev

在Visual Studio 2010的dll项目中包含Qt工具