[PyQt] How to properly escape white spaces and weird chars in SOURCES

Giuseppe Corbelli corbelligiuseppe at mesdan.it
Tue May 14 08:58:58 BST 2019


On 5/14/19 8:47 AM, Giuseppe Corbelli wrote:
> As far as I understand the problem is that the 
> qpy/pylupdate/proparser.cpp splits on ' ' (around line 142). Am I correct?

Could be a matter of:

QStringList toks = (*line).split(QRegExp(" (?!\\)"), 
QString::SkipEmptyParts);

But right now I am not able to setup a test environment. Anyone willing 
to take a chance?

Thanks

-- 
Giuseppe Corbelli


More information about the PyQt mailing list