[PyQt] codec plugins embed wanted

DDGG ddcatgg at gmail.com
Tue Aug 14 06:45:48 BST 2007


> Date: Mon, 13 Aug 2007 16:12:08 +0100
> From: Phil Thompson <phil at riverbankcomputing.co.uk>
> Subject: Re: [PyQt] Re: Re: QODBC driver not loaded (PyQt 4.3b1)
> To: pyqt at riverbankcomputing.com
> Message-ID: <200708131612.08393.phil at riverbankcomputing.co.uk>
> Content-Type: text/plain;  charset="gb2312"
>
> On Monday 13 August 2007 3:39 pm, DDGG wrote:
> > Thanks for your help! But my python is ActivePython which build with
> > VC.Net 2003, and the Qt4.3.1 i got was build with mingw
> > (qt-win-opensource-4.3.1-mingw.exe), so that build PyQt myself is a
> > mission impossible to me. *_*
>
> Why? It's very easy to do.
>
> > Another question i wonder, why did you put together everything needed
> > to the binary installer for Windows of the latest PyQt? I miss the
> > light-level PyQt which only 5.xMB and load any needed library or dll
> > from Trolltech's Qt build.
>
> For most people the new installer is more convenient. It won't be more
> convenient for everyone.
>
> > If you would like to include the ODBC Qt driver in the next version of
> > the PyQt installer, thank you, and i hope you include the codec
> > library which named "Qt\3.1.0\plugins\codecs\qcncodecs.dll" too.
>
> I won't be including any codecs.

Why not?...T_T   I require it because my code like these:

# -*- coding: GB2312 -*-

QtCore.QTextCodec.setCodecForLocale(QtCore.QTextCodec.codecForName("gbk"))
QtCore.QTextCodec.setCodecForCStrings(QtCore.QTextCodec.codecForName("gbk"))
QtCore.QTextCodec.setCodecForTr(QtCore.QTextCodec.codecForName("gbk"))

So i could write gbk-codec-chinese directly in my code without using tr.
But if there no "qcncodecs.dll" found by PyQt, chinese could not shown
correctly on the ui.

I wish you reconsider that and thanks a lot for your help!

Your friend,
DDGG


More information about the PyQt mailing list