[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    QTextCodec
From:       David Cortesi <davecortesi () gmail ! com>
Date:       2022-08-26 16:07:44
Message-ID: CALyzANu1xsBYnvngPWQcCCKDtPo4XxuA+t17mM3uOoYVN4Ldbg () mail ! gmail ! com
[Download RAW message or body]

Updating an old program that in PyQt5 imported QTextCodec from QtCore, but
with PyQt6 it is not found.

According to the Qt docs (https://doc.qt.io/qt-6/qtextcodec.html) it is now
part of the "Qt5 Core Compatibility APIs" but I don't find any such import
package, nor any mention in the Qt6 differences page (
https://www.riverbankcomputing.com/static/Docs/PyQt6/pyqt5_differences.html
).

I don't understand why this function, text re-encoding, would be
deprecated. Did Qt6 add some better way to do it? Or where did it go in
PyQt6?

Thanks for the insight,
Dave Cortesi

[Attachment #3 (text/html)]

<div dir="ltr"><div>Updating an old program that in PyQt5 imported QTextCodec from \
QtCore, but with PyQt6 it is not found.</div><div><br></div><div>According to the Qt \
docs (<a href="https://doc.qt.io/qt-6/qtextcodec.html">https://doc.qt.io/qt-6/qtextcodec.html</a>) \
it is now part of the &quot;Qt5 Core Compatibility APIs&quot; but I don&#39;t find \
any such import package, nor any mention in the Qt6 differences page (<a \
href="https://www.riverbankcomputing.com/static/Docs/PyQt6/pyqt5_differences.html">htt \
ps://www.riverbankcomputing.com/static/Docs/PyQt6/pyqt5_differences.html</a>).</div><div><br></div><div>I \
don&#39;t understand why this function, text re-encoding, would be deprecated. Did \
Qt6 add some better way to do it? Or where did it go in \
PyQt6?</div><div><br></div><div>Thanks for the insight,</div><div>Dave \
Cortesi<br></div><div><br></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic