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

查看:952
本文介绍了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:(调用方:7444FE4F)ReturnHr(1)tid(188)8002801D库未注册。
mincore\com\oleaut32\dispatch\ups.cpp(2128)\OLEAUT32.dll!74445072:(调用方:7444FE4F)ReturnHr(2)tid(188)8002801D库未注册。 p>

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.

推荐答案

U。这个问题使我的星期日震惊。

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,但没有用。以100万种不同的方式重新安装了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天全站免登陆