[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] How to properly escape white spaces and weird chars in SOURCES
From: Dmitry Shachnev <mitya57 () ubuntu ! com>
Date: 2019-05-14 12:34:08
Message-ID: 20190514123408.GA26212 () mitya57 ! me
[Download RAW message or body]
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 PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic