c++ - MingW 报告 Netbeans + Qt 中缺少 .dll 文件

标签 c++ qt netbeans mingw

我安装了 Netbeans 7.0.1 和 Qt SDK,并按照 here 上的说明进行设置。 .代码构建得很好,但是当我按下运行时,出现以下错误:

The application failed with exit code -1073741515 (0xc0000135). 
This could indicate that no required .dll was found in the PATH. 
Please try to start the following command from the command shell (cmd.exe). 
This may give some additional information. 

"C:\..." //file location 

RUN FAILED (exit value -1,073,741,515, total time: 35ms)

任何帮助将不胜感激 -塔玛斯

最佳答案

问题是你需要一些 dll 来运行可执行文件,所以你必须把它们放在本地目录才能运行它,当你完成编码时,你必须找到一种方法让它们对最终可用用户,这是为 qt creator 制作的一个小教程,解释得很好,请记住,单击 netbeans 中的运行按钮与双击 dist/release 或中的可执行文件几乎相同dist/debug 文件夹 https://www.youtube.com/watch?v=X1BsPQue5-k

关于c++ - MingW 报告 Netbeans + Qt 中缺少 .dll 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7252583/

相关文章:

c++ - 为什么我不能在类中使用参数构造函数?

c++ - 如何从 C++ Qt 代码在 QML QtLocation map 上添加 PoI

c++ - 将 initializer_list 插入 vector<string> 时 VS2013 SP5 崩溃

c++ - QAbstractSocket 没有那个文件或目录

maven - 在 netbeans 和 glassfish 中部署具有依赖关系的单个 ejb 模块

java - 如何为 Netbeans 7.1 创建可分发的 Java 模板?

c++ - 查找 2D 数组中 n 个最大的元素位置

qt - 如何将矩形添加到 QML ChartView?

c++ - 有什么方法可以检测 QObject 是否属于 "dead"QThread?

php - netbeans 和 xdebug 与 laravel