选择“选择资源...”时 Qt Designer 冻结(锁定)
问题
Qt Designer 从资源中选择图像时锁定,停止响应,只是 使 Windows 发出 bing 声音。
有谁知道 Qt Designer 可能导致此问题的原因是什么,或者有一个不错的解决方法吗?
到目前为止,我只尝试过Label.pixmap
和PushButton.icon
。
每次我选择此选项时,整个设计器都会锁定。它似乎正在尝试显示模式选择对话框,但我在任何地方都看不到它。
“选择文件...”选项工作正常,但不是一个方便的选项。
我过去曾让 Designer 正常工作过。 我的项目暂停了几个月,在此期间,由于 HDD 完全故障,我丢失了 Qt 版本,并且已从我所做的 zip 备份中恢复。我仍然可以针对 Qt 库进行构建。 从那以后一直没有工作。
我还为 Linux 构建了相同的 .ui
文件,可以使用 Ubuntu 10.10 正确编辑。
环境
Qt v4.7.1
VS2008 SP1,我构建了自己的 Qt 版本
VS addin 版本(相同v1.1.7 和 v1.1.9 的症状)
Win7-x64 Pro
尝试过(没有成功):
- < p>从源代码重建 Qt
按照此处的建议手动编辑
.ui
文件:http://discussion.forum.nokia.com/forum/…crashes-Creator- < p>从安装的文件夹运行Designer
在procmon中观察
designer.exe
(似乎对HKLM\System\CurrentControlSet进行了大量注册表查找\Services\Tcpip\Parameters\Interfaces
,但没有什么看起来很重要)
这真的很伤害我,非常感谢帮助。
Problem
Qt Designer is locking up when selecting a image from Resource, stops responding, just
makes Windows bing sound.
Does anyone know what might be causing this problem with Qt Designer, or a decent work-around?
I've only tried Label.pixmap
and PushButton.icon
so far.
Every time I select this option the entire Designer locks up. It seems like it's trying to display a modal selection dialog box, but I can't see it anywhere.
"Choose File..." option works fine but isn't a convenient option.
I have had Designer working properly in the past.
My project was paused for a couple of months, during this time I lost my Qt build due a complete HDD failure, and have restored from a zip-backup I'd made. I can still build against Qt libs.
Since then hasn't worked.
I also built for Linux and the same .ui
files can be editing properly with Ubuntu 10.10.
Environment
Qt v4.7.1
VS2008 SP1, I built my own build of Qt
VS addin (same symptoms for v1.1.7 and v1.1.9)
Win7-x64 Pro
Tried (without success):
rebuilding Qt from source
manually editing
.ui
file as suggested here: http://discussion.forum.nokia.com/forum/…crashes-Creatorrunning Designer from installed folder
watched
designer.exe
in procmon (seems to be doing a lot registry lookups forHKLM\System\CurrentControlSet\Services\Tcpip\Parameters\Interfaces
, but nothing that looks significant)
This is really hurting me, help very much appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
“锁定”是由 Designer 打开模式资源对话框引起的。但是,自从上次使用 Designer 以来,我已将第二个屏幕移动到主屏幕的另一侧,模式对话框在旧屏幕中打开(不再连接),因此我看不到它。
解决方案:Windows 键 + 左键将丢失的对话框移回到连接的屏幕上。
The 'lockup' was caused by Designer opening a modal resource dialog. However, since last using Designer, I had moved my second screen to the other side of my primary screen, the modal dialog was open in the old screen (no longer connected) so I couldn't see it.
Resolution: Windows-key + Left-key moved the missing dialog back onto a connected screen.