首页 > 其他分享 > Qt6.2 Widgets Application 解决 'ui_xxxx.h' file not found 问题

Qt6.2 Widgets Application 解决 'ui_xxxx.h' file not found 问题

时间:2022-08-14 11:34:33浏览次数:97  
标签:Qt6.2 xxxx Qt 构建 菜单栏 Application ui file found

参考

  1. 【Qt】Qt登录对话框(设计器实现)
  2. error: ‘ui_mainwindow.h‘ file not found(ui头文件未创建)

环境

环境 版本
windows 10
QT 6.2.4
Qt Creator 8.0.1 (Community)
qmake

总结

  1. 编辑UI文件或者创建文件后及时 ctrl+s
  2. 如果运行失败或者提示 file not found,及时清除构建

步骤

  1. 顶部菜单栏->构建->清除
  2. 顶部菜单栏->构建->重新构建
    image

标签:Qt6.2,xxxx,Qt,构建,菜单栏,Application,ui,file,found
From: https://www.cnblogs.com/xiaqiuchu/p/16585062.html

相关文章