473,394 Members | 2,048 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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

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
Jul 18 '05 #1
5 2884
ul********@yahoo.com.cn (ulysses) wrote in message news:<43**************************@posting.google. com>...

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
Jul 18 '05 #2
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/de...me_systems.asp

Neil
Jul 18 '05 #3
"Neil Hodgson" <nh******@bigpond.net.au> wrote in message news:<fN********************@news-server.bigpond.net.au>...
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/de...me_systems.asp

Neil


Qt don't use MFC or comctrl . I download it .But I still failure.
Jul 18 '05 #4
ulysses:
Qt don't use MFC or comctrl . I download it .But I still failure.


Best information I can find:
http://www.trolltech.com/developer/p...windows98.html

Neil
Jul 18 '05 #5
"Neil Hodgson" <nh******@bigpond.net.au> wrote in message news:<fw********************@news-server.bigpond.net.au>...
ulysses:
Qt don't use MFC or comctrl . I download it .But I still failure.


Best information I can find:
http://www.trolltech.com/developer/p...windows98.html

Neil


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. :(
Jul 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Ilya Knizhnik | last post by:
Dear All, I am fairly new to Python. I have found it an easy language to learn and a very usefull one for many tasks. Currently I am working on a python project that involves a GUI and it was...
4
by: ulysses | last post by:
Hi, I use PyQt 3.8 non-commercial version in win32. I get a big question. I Can't show PY variable in QT filedialog as initially parameter. Code sample is following:...
4
by: ulysses | last post by:
hi, I'm working in python 5 months. I think it's very cool language. I do a p2p python program GUI. First I make a software by wxpython. But I find wxpython use many many memory. Second I use...
35
by: Vamsi Mudrageda | last post by:
I am kind of new to Python, and after trying and using wxPython, I found it kind of lacking in easy-to-read documentation, speed at loading, and GUI response-time. So I am looking for an another...
2
by: Leif B. Kristensen | last post by:
Can somebody point me to a quick example on how to display the result of an SQL query in a PyQt QListBox? I've googled in vain for this. regards, -- Leif Biberg Kristensen...
10
by: Volker Lenhardt | last post by:
For a QApplication (PyQt) on the small screen of my Zaurus 5500 PDA I try to layout my data output in a QScrollView as the central widget. I'd prefer to use QGridLayout, but cannot add it to the...
4
by: gregarican | last post by:
I noticed that when I invoked the setCentralWidget() method using PyQt 3.13 on Python 2.3.5 opening and closing a widget associated with a main window would result in a Win32 access violation crash...
3
by: Marcpp | last post by:
Hi, I'm introducing to program in python + pyqt. I have a main window that call a second window (to introduce a info with textedit) when press the second window button I need to return to the main...
0
by: kang jia | last post by:
hi currently i am doing this search function for car booking website. it can search through either car seats or CarModel. it seems it able to do search function, however i small problem occurs to...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.