Re: How to properly escape white spaces and weird chars in SOURCES

Dmitry Shachnev <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <[email protected]>
On Tue, May 14, 2019 at 08:47:23AM +0200, Giuseppe Corbelli wrote:
> > The qmake docs say: Usually, whitespace separates values in variable
> > assignments. To specify values that contain spaces, you must enclose the
> > values in double quotes:
> >
> > DEST = "Program Files"
>
> Yeah, got that, but:
> 1) AFAIK lupdate and pylupdate do not share anything, so QT documentation is
> not really accurate
> 2) It does not work (pylupdate5 error: Cannot open Python source file
> '/home/corbelli/devel/pylupdate-special/"white': No such file or directory)
>
> As far as I understand the problem is that the qpy/pylupdate/proparser.cpp
> splits on ' ' (around line 142). Am I correct?

JFYI: for Qt 5.13 there will be an option to use lprodump tool [1] for
parsing .pro files, instead of using a custom parser.

[1]: https://code.qt.io/cgit/qt/qttools.git/tree/src/linguist/lprodump/main.cpp?h=5.13

--
Dmitry Shachnev
_______________________________________________
PyQt mailing list    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.