Qt Widget 应用程序“库未注册"错误 [英] Qt Widget Application "Library not registered" error

查看:98
本文介绍了Qt Widget 应用程序“库未注册"错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近刚开始使用 Qt 并创建了一个简单的 Qt Widgets 应用程序.当我构建并运行应用程序时(即使我创建了一个没有新代码的新项目),我收到以下错误消息:

I've just recently started out with Qt and created a simple Qt Widgets application. When I build and run the application (even if I make a fresh project with no new code in it) I get the following error messages:

mincore\com\oleaut32\dispatch\ups.cpp(2128)\OLEAUT32.dll!74445072: (caller: 7444FE4F) ReturnHr(1) tid(188) 8002801D 库未注册.mincore\com\oleaut32\dispatch\ups.cpp(2128)\OLEAUT32.dll!74445072: (caller: 7444FE4F) ReturnHr(2) tid(188) 8002801D 库未注册.

mincore\com\oleaut32\dispatch\ups.cpp(2128)\OLEAUT32.dll!74445072: (caller: 7444FE4F) ReturnHr(1) tid(188) 8002801D Library not registered. mincore\com\oleaut32\dispatch\ups.cpp(2128)\OLEAUT32.dll!74445072: (caller: 7444FE4F) ReturnHr(2) tid(188) 8002801D Library not registered.

我的 Qt 安装和 Windows 都是最新的.几个小时以来,我一直在寻找解决方案,但在网上找不到任何与该问题相关的任何内容……有没有其他人遇到过类似的问题?

My Qt install and Windows are both up to date. I've been searching for a solution for a couple hours now and I can't find anything even remotely relevant to the problem online... Has anyone else anywhere had a similar issue?

更新:

我刚刚从我的 PC 中完全删除了 Qt 并进行了全新安装,但我仍然收到相同的消息.

I just completely removed Qt from my PC and did a fresh install and I am still getting the same messages.

推荐答案

呃.这个问题毁了我的星期天.

Ugh. This problem wrecked my sunday.

我使用的是 QT 5.9.1、Windows 10、Surface Book.

I'm on QT 5.9.1, Windows 10, Surface Book.

我尝试重新安装 windows,没有用.我尝试重新安装 Microsoft Runtime,没有用.以一百万种不同的方式重新安装了 QT,但没有奏效.

I tried reinstalling windows, didn't work. I tried reinstalling Microsoft Runtime, didn't work. Reinstalled QT in a million different ways, didn't work.

所以我使用了最新的更新,并检查了我的 oleaut32.dll 版本 - 1.1.15063.0.根据我发现的一个旧论坛帖子,此错误可能是由于应用程序请求比您拥有的 oleaut32.dll 版本更新而引起的.所以我跳到内部预览版本(选择慢环)并升级到版本 10.0.16251,它也升级了我的 oleaut32.dll.修复了,没有错误了.QT 创作者终于开始工作了.

So I was on the latest updates, and checked my oleaut32.dll version - 1.1.15063.0. According to an old forum post I found around, this error can be caused by the application requesting a newer version of oleaut32.dll than you have. So I jumped onto the insider preview versions (picking the slow ring) and was upgraded to release 10.0.16251 which also upgraded my oleaut32.dll. Fixed it, no error anymore. QT creator finally works.

我猜 QT 要求您现在使用 beta 窗口?

I guess QT requires you to be on beta windows now?

这篇关于Qt Widget 应用程序“库未注册"错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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