我无法运行使用Qt构建的应用程序 [英] i cannot run my app builded with Qt

查看:477
本文介绍了我无法运行使用Qt构建的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下载并安装了Qt.

我编写了一个简单的带有用户干扰的hello world程序,并将其构建到qt项目目录中.
当我单击以打开.exe文件时,出现错误消息.

为什么?

I downloaded Qt and installed it.

I have written a simple hello world program with user interferance and I built it to qt projects directory.
When I click to open the .exe file there appears an error message.

Why?

推荐答案

如果您可以向我们展示代码和错误消息,将对您有很大帮助.

没有这些小提示,就不可能正确回答您!
Would help greatly if you could show us the code and the error message.

It is impossible to answer you properly without these little clues!


我想错误消息会抱怨找不到 dll .不是吗?
如果是这样,只需将 Qt 发行版的bin文件夹(类似于c:\Qt\4.7.0\bin)添加到系统路径.
I suppose that the error message complains about dll that could not been located. Isn''t it?
If so, just add the bin folder of your Qt distribution (something like c:\Qt\4.7.0\bin) to the system path.


这篇关于我无法运行使用Qt构建的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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