将文件夹放在工程文件内
点击工程右键 ->添加新文件->QT->QT rescours file
给资源文件夹起名 res 生成res.qrc
open in edit 启用编辑
添加前缀、添加文件
使用“:/前缀名/文件名”
效果:
将文件夹放在工程文件内
点击工程右键 ->添加新文件->QT->QT rescours file
给资源文件夹起名 res 生成res.qrc
open in edit 启用编辑
添加前缀、添加文件
使用“:/前缀名/文件名”
效果: