当前位置:网站首页>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文件试试吧,希望能对你有所帮助!
边栏推荐
- this指向问题
- js中的this指向与原型对象
- The feign call fails, JSON parse error Illegal character ((CTRL-CHAR, code 31)) only regular white space (r
- Linux修改MySQL数据库密码
- MySQL-如何分库分表?一看就懂
- Artifact SSMwar exploded Error deploying artifact.See server log for details
- 360 hardening file path not exists.
- podspec 校验依赖出错问题 pod lib lint ,需要指定源
- quick-3.5 无法正常显示有混合纹理的csb文件
- Principle analysis of famous website msdn.itellyou.cn
猜你喜欢
带你搞懂MySQL隔离级别,两个事务同时操作同一行数据会怎样?
Build DVWA with phpstudy
[windows]--- SQL Server 2008 super detailed installation tutorial
What is the difference between NFT and digital collection?
Fragmented NFT (Fractional NFT)
Install mysqldb in mac10.14
Using IIS10 to build an asp website in win11
On the side of Ali, tell me what are the application scenarios of message middleware you know?
MySql创建数据表
Notes on creating a new virtual machine in Hyper-V
随机推荐
Several solutions for mysql startup error The server quit without updating PID file
360 hardening file path not exists.
Error: Cannot find module 'D:\Application\nodejs\node_modules\npm\bin\npm-cli.js'
Chinese garbled solution in UTF-8 environment in Powershell
sqlite 查看表结构 android.database.sqlite.SQLiteException: table splitTable has no column named
[Elastic-Job source code analysis] - job listener
2021 Mianjing - Embrace Change
Several forms of Attribute Changer
Linux修改MySQL数据库密码
cocos2d-x-3.2创建项目方法
npm WARN config global `--global`, `--local` are deprecated. Use `--location解决方案
小米手机短信定位服务激活失败
微信小程序启动优化
npm WARN config global `--global`, `--local` are deprecated. Use `--location solution
MySQL高级学习笔记
【swagger关闭】生产环境关闭swagger方法
MySQL压缩包方式安装,傻瓜式教学
"limit" query in Oracle database
Judgment of database in SQL injection
this指向问题