gpt4 book ai didi

c++ - 尝试运行应用程序时缺少 Qt5Cored.dll

转载 作者:行者123 更新时间:2023-12-01 14:24:05 30 4
gpt4 key购买 nike

我正在使用 Visual Studio 2013 Ultimate

我的Qt版本是5.2.1

我正在使用我从 here 获得的 VS2013 的特定构建.

现在,我做了什么:

  1. 从 Visual Studio 创建了一个新的 Qt 应用程序。
  2. 输入我的逻辑和代码。
  3. 在 x64 Debug模式下成功构建它。
  4. 成功运行应用程序。

到目前为止一切都很好。

现在的问题:

  1. 我重新启动 Visual Studio 并加载项目。
  2. 已成功构建(在 x64 调试中)。
  3. 现在,我无法运行它。我收到错误:

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

它在我创建应用程序时第一次运行。现在它不会运行。

我试着模拟这个问题,每次都会发生这种情况。第一次运行,Visual Studio重启后不再运行。

请帮我解决这个问题。

提前致谢。

最佳答案

从项目属性中,您必须转到调试 -> 环境 -> 并写入 PATH=qt5 dll 路径或者您必须将 dll 放在 exe 旁边。

关于c++ - 尝试运行应用程序时缺少 Qt5Cored.dll,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22960540/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com