[PyQt] How to properly escape white spaces and weird chars in SOURCES
michael h
michaelkenth at gmail.com
Tue May 14 01:02:10 BST 2019
>
>
> SOURCES = \
> white space.py
> sp&cial.py
>
> The current error is:
> corbelli at corbelli-linux:~/devel/pylupdate-special$
> /opt/python/bin/pylupdate5 -verbose weirdchars.pro
> pylupdate5 error: Cannot open Python source file
> '/home/corbelli/devel/pylupdate-special/white': No such file or directory
> pylupdate5 error: Cannot open Python source file
> '/home/corbelli/devel/pylupdate-special/space.py': No such file or
> directory
>
>
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"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20190513/a2c5959c/attachment.html>
More information about the PyQt
mailing list