Qt QFontDatabase::loadFromCache: Font path doesn't match.问题解决
2013-09-22 16:39
453 查看
最近做嵌入式的Qt界面,在移植成功后遇到了一个问题:QFontDatabase::loadFromCache: Font path doesn't match。后面跟着便是两个路径。
解决方案就是对比两个路径的不同,终端执行env查看环境配置,将QT_QWS_FONTDIR环境变量export成前面显示的base font路径。OK,问题解决。
解决方案就是对比两个路径的不同,终端执行env查看环境配置,将QT_QWS_FONTDIR环境变量export成前面显示的base font路径。OK,问题解决。
相关文章推荐
- 问题解决:it could not find or load the Qt platform plugin "windows"
- QFontDatabase: Cannot find font directory问题解决方案
- QT5 Failed to load platform plugin "windows" 终极解决方式 命令行问题
- Failed to load class "org.slf4j.impl.StaticLoggerBinder" 问题解决
- "cannot locate symbol "sqlite3_enable_load_extension" referenced by "sqlite3" 问题解决
- Access denied for user'admin'@'localhost' to database 问题的解决
- Failed to load class "org.slf4j.impl.StaticLoggerBinder" 问题解决
- 解决Opentaps/OFBiz在Eclipse启动时"Could not load VFS configuration"的问题
- Failed to load class "org.slf4j.impl.StaticLoggerBinder".问题解决
- 解决eclipse搭建索爱sdk模拟程序时出现的"Couldn`t load zayitlib.dll library"问题
- sql 问题 select permission denied on object 'pb_userinfo',database 'Maching',owner'ado' 解决方法
- QT使用MySql的配置(使用addLibraryPath载入插件),编译QT的MySql驱动问题及解决方案(自己使用libmysql.lib进行编译mysql.pro,万不得已可以查看Makefile.Debug以解决问题)
- 针对Font 'STSongStd-Light' with 'UniGB-UCS2-H' is not recognized.的问题的解决
- 解决jasperreport pdf导出错误Could not load the following font问题
- 关于Android Studio错误:local path doesn't exist 的问题解决方案
- Failed to load class "org.slf4j.impl.StaticLoggerBinder问题故障的解决
- fatal error: malformed or corrupted AST file: 'Unable to load module Darwin.pcm 问题解决
- Path does not start with a "/" character 问题的解决(2)
- 解决build path contains duplicate entry:'src' for project 'XXX'问题
- Field 'id' doesn't have a default value问题解决方法