[pyqt] Can't show QString textLabel in windows 98 GUI program

U

ulysses

hi.

I do a P2P program use PYQT nc .
It work normally in win2000,winXP. But it cann't show Chinese textLabel
in windows98.
For show Chinese textLabel I need convert QString instance to unicode().
But win98 didn't support unicode.
Anyone can tell me how to convert unicode to any visibel codes in chinese
windows system. Thanks.


Ulysses
 
U

ulysses

(e-mail address removed) (ulysses) wrote in message
I mean this program can show textlabel,capion in Win2000,winxp.
Because I use __tr() to translate multilanguage.
qApp.translate("Form",s,c) return a QString Object. it's a unicode codec.
I can't show it in Windows 98. Anyone can help me. I crazy for it.
thanks million.

My freeware bittorrent download tools build by PYQT 3.8.
www.turbobt.com

Ulysses
 
N

Neil Hodgson

ulysses:
I mean this program can show textlabel,capion in Win2000,winxp.
Because I use __tr() to translate multilanguage.
qApp.translate("Form",s,c) return a QString Object. it's a unicode codec.
I can't show it in Windows 98. Anyone can help me. I crazy for it.

Unicode support on Windows 98 often requires more effort than on the
Windows NT family which uses Unicode as the native string type. Have a look
at using the Microsoft Layer for Unicode (MSLU). I do not know if QT is
compatible with MSLU.

MSLU:
http://msdn.microsoft.com/library/d...r_for_unicode_on_windows_95_98_me_systems.asp

Neil
 
U

ulysses

Neil Hodgson said:

Thank you. I get following message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Platform Notes - Windows 98 and Me
As for Windows NT, with the following exceptions:

Unicode support:
since Windows 98 does not implement much Unicode, Qt's Unicode support
on Windows 98 is lacking. Note that Qt attempts to hide these
differences - application programs can see that the fonts available
are rather incomplete, but there is generally no need for programs to
care. With other toolkits such as MFC, you often need to recompile.
With Qt, your programs detect and use the capabilities of the Windows
version they run on, that's all.


OMG. That's suck. When my software finished. I find this problem.
Because I develope it in Win2000.
Anyway I have to forget Win98. :(
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top