Hi, I tried the code you gave me,the chinese can not be displayed.Instead ,it shows some blank boxes. The result is attached.
Regards
2013/10/8 Christian Helmuth <christian.helmuth@...1...>
Hello,
On Tue, Oct 08, 2013 at 04:53:04PM +0800, yuqing wang wrote:
I am writing a qt application and i want to display chinese as the
caption
of a dialog.
I did not try it on Genode, but the attached source code should work on Qt4 and Qt5. It may be, that we are missing, for example, font support. So, please give it a try and report the result.
Please note, the QString::fromUtf8() is an essential part of the solution, otherwise, it will _not_ work.
Regards
Christian Helmuth Genode Labs
http://www.genode-labs.com/ · http://genode.org/ https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clk... _______________________________________________ Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main