当前位置:网站首页>QT VS中双击ui文件无法打开的问题
QT VS中双击ui文件无法打开的问题
2022-07-31 05:15:00 【龙虾在剥我的壳】
如果你在VS里安装QT之后,双击ui文件,出现闪退并且显示xxx.ui文件无法打开,这篇博客或许能帮助到你
一、问题描述
双击ui文件出现闪退,如下图所示,这个界面1s之后就会闪退

二、解决方案
步骤1
找到ui文件,点击右键,找到打开方式
第一步 选中QT Designer
第二步 点击设为默认值
第三步 点击确定

做完这步,再次打开ui文件,会出现以下错误 未能完成的操作,未指定的错误或者是未将对象引用设置到对象我的实列
步骤2
第一步: 点击ui文件,选择打开方式,
第二步: 点击添加,选择程序,找到QT的bin目录下的 designer.exe 我的是:D:\Desktop\software\QT\5.13.2\msvc2017_64\bin\designer.exe
选中designer.exe点击打开 (之后有个友好名称框可以更改名字,我的为QT Designer) 再点击确定
第三步: 在最下面找到QT Designer 点击设为默认值 确定




现在再去打开ui文件试试吧,希望能对你有所帮助!
边栏推荐
- podspec自动化升级脚本
- js中的this指向与原型对象
- cocos2d-x 实现跨平台的目录遍历
- Several solutions for mysql startup error The server quit without updating PID file
- js中的对象与函数的理解
- 理解js运算符
- 2021年京东数据分析工程师秋招笔试编程题
- cocos2d-x-3.2 Physics
- podspec 校验依赖出错问题 pod lib lint ,需要指定源
- (Crypto essential dry goods) Detailed analysis of the current NFT trading markets
猜你喜欢

Take you to understand the MySQL isolation level, what happens when two transactions operate on the same row of data at the same time?

Build DVWA with phpstudy
![[JVM Loading]---Class Loading Mechanism](/img/b6/d1754cb6699d18602ca9a463571c0c.png)
[JVM Loading]---Class Loading Mechanism

Gradle sync failed: Uninitialized object exists on backward branch 142

微信小程序源码获取与反编译方式

自定dialog 布局没有居中解决方案
![[Cloud native] Ribbon is no longer used at the bottom layer of OpenFeign starting from the 2020.0.X version](/img/7e/1d27e3f1856ab8c6cbfc5221c717bb.png)
[Cloud native] Ribbon is no longer used at the bottom layer of OpenFeign starting from the 2020.0.X version

(Crypto essential dry goods) Detailed analysis of the current NFT trading markets

Notes on creating a new virtual machine in Hyper-V

Android软件安全与逆向分析阅读笔记
随机推荐
Sqlite A列数据复制到B列
数据库 | SQL增删改查基础语法
场效应管 | N-mos内部结构详解
阿里云中mysql数据库被攻击了,最终数据找回来了
Detailed explanation of pointers in C language
unicloud 云开发记录
The feign call fails, JSON parse error Illegal character ((CTRL-CHAR, code 31)) only regular white space (r
The latest MySql installation teaching, very detailed
The server time zone value ‘й‘ is unrecognized or represents more than one time zone
Regular Expression Basics
cocos2d-x-3.2创建项目方法
configure:error no SDL library found
【uiautomation】微信好友列表获取(存储到txt中)
Markdown help documentation
podspec 校验依赖出错问题 pod lib lint ,需要指定源
For penetration testing methods where the output point is a timestamp (take Oracle database as an example)
Sqlite column A data is copied to column B
mysql common commands
podspec自动化升级脚本
一文速学-玩转MySQL获取时间、格式转换各类操作方法详解