[PyQt] Fwd: pyqt5-dev-tools: does not support unicode properly

Dmitry Shachnev mitya57 at ubuntu.com
Fri May 29 18:17:40 BST 2015


Hi Salvo,

Forwarding your message to upstream mailing list, where it's more appropriate.

--
Dmitry Shachnev

---------- Forwarded message ----------
From: Salvo Tomaselli <tiposchi at tiscali.it>
Date: 2015-05-29 18:58 GMT+03:00
Subject: Bug#787197: pyqt5-dev-tools: does not support unicode properly
To: Debian Bug Tracking System <submit at bugs.debian.org>

Dear Maintainer,
apparently pyqt5+python3 has a terrible support for unicode, at times.

I attach a .ui file, and some screenshots of the results i obtain.

You can compile it to python running:
$ pyuic5 -x maingui.ui > test.py
$ python3 test.py

On my system, the preview from the designer of the .ui file is quite different
than the window that then gets shown running it in python.

I have problems porting "relational" to Qt5 because of this bug. Until this is
fixed I can't do the porting.

However, when I tried to reproduce the problem with simpler .ui files, it did
not appear, so I am not sure of what is exactly triggering it.

I had posted about this issue on a mailing list, but it was inconclusive:
https://lists.debian.org/debian-qt-kde/2015/05/msg00153.html

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.19.8c (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages pyqt5-dev-tools depends on:
ii  libc6          2.19-18
ii  libgcc1        1:5.1.1-8
ii  libqt5core5a   5.4.1+dfsg-4
ii  libqt5xml5     5.4.1+dfsg-4
ii  libstdc++6     5.1.1-8
ii  python3        3.4.2-2
ii  python3-pyqt5  5.4.1+dfsg-2

pyqt5-dev-tools recommends no packages.

pyqt5-dev-tools suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: expected_result.png
Type: image/png
Size: 31527 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150529/586a911d/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: actual_result2.png
Type: image/png
Size: 36522 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150529/586a911d/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: actual_result1.png
Type: image/png
Size: 35607 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150529/586a911d/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: maingui.ui
Type: application/xml
Size: 18578 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150529/586a911d/attachment-0001.wsdl>


More information about the PyQt mailing list