【问题标题】:Qt application on Windows XP and GetTickCount64Windows XP 和 GetTickCount64 上的 Qt 应用程序
【发布时间】:2014-01-27 12:15:15
【问题描述】:

我们在 Windows XP 上的 Qt 应用程序有问题。 VisualStudio 和 Qt 更新后,出现以下错误:

The procedure entry point GetTickCount64 could not be located in the dynamic link library KERNEL32.dll

我们从 Qt-project 站点直接下载了最新的 Qt 4.8.5。有什么想法吗?

【问题讨论】:

  • 你试过thisthis吗?
  • 谢谢!第一个解决方案效果很好。

标签: windows qt windows-xp


【解决方案1】:

你有这个吗 #define _WIN32_WINNT 0x0600

我认为这是视觉工作室的问题,试试这个:

以 Windows XP 为目标: 1. 在解决方案资源管理器中,打开项目的快捷菜单,然后选择属性。 2. 在项目的 Property Pages 对话框中,在 Configuration Properties 的 General 下,将 Platform Toolset 属性设置为 Visual Studio 2012 – Windows XP (v110_xp)。

【讨论】:

  • 我通过定义 WINVER=0x0501 和 _WIN32_WINNT 0x0501 解决了这个问题,就像blog中描述的那样
【解决方案2】:

我认为这是您的服务包或 Visual Studio 版本问题。尝试重新设计 Visual C++ Reconate 组件。

【讨论】:

    猜你喜欢
    • 2023-03-25
    • 2018-06-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-02-28
    • 2013-01-30
    • 2015-08-18
    相关资源
    最近更新 更多