首页| 论坛| 消息

标题:QT 界面如何显示中文
作者:alan_zwl
日期:2015-04-08 20:02
内容:

在进行QT界面开发的时候,如何配置环境让QT显示中文!目前显示不出中文!配置如下:./configure \
-opensource \
-confirm-license \
-release -shared \
-embedded arm \
-xplatform qws/linux-armv7-g++ \
-depths 16,18,24,32 \
-fast \
-optimized-qmake \
-pch \
-qt-sql-sqlite \
-qt-libjpeg \
-qt-zlib \
-qt-libpng \
-qt-freetype \
-little-endian -host-little-endian \
-no-qt3support \
-no-libtiff -no-libmng \
-no-opengl \
-no-mmx -no-sse -no-sse2 \
-no-3dnow \
-no-openssl \
-no-webkit \
-no-qvfb \
-no-phonon \
-no-nis \
-no-opengl \
-no-cups \
-no-glib \
-no-xcursor -no-xfixes -no-xrandr -no-xrender \
-no-separate-debug-info \
-nomake examples -nomake tools -nomake docs -nomake demos \
-qt-mouse-tslib
请大神赐教,谢谢!


#1 [zheng501gf 04-09 17:06]
程序里支持语言的本地化
#2 回 zheng501gf 的帖子 [alan_zwl 04-09 17:33]
zheng501gf:程序里支持语言的本地化 (2015-04-09 17:06) 
怎么实现?
#3 [XChinux 04-11 21:35]
看看linguist/lupdate/lrelease/tr/QTranslator相关的内容。在assistant里。
#4 [demonye 07-16 01:48]
开发板的文件系统里要加上中文字体库
然后在设置环境变量指定字体库路径
这样应该就可以了

回复 发表
主题 版块