Details
Description
I have successfully built and run scriptableapplication with qmake on a Windows machine that did not have a space in the path name, but it did not work when I did it again on another machine that did have a space in the file name (User name has space in it.) [Note – I am able to run examples like tetrix, where I am not using qmake, so Pyside build was successful.]
I have attached the output of qmake issues, the output of the pyside2_config.py script, and the Makefile generated. You can see some of the issues in the makefile such as the following line, where the space between "Sharon Woods" causes a break between the -I
INCPATH = -I..\scriptableapplication -I. -I"..\..\..\Users\Sharon Woods\AppData\Local\Programs\Python\Python36\include" -IC:/Users/Sharon -IWoods/AppData/Local/Programs/Python/Python36/lib/site-packages/PySide2/include/shiboken2 -IC:/Users/Sharon -IWoods/AppData/Local/Programs/Python/Python36/lib/site-packages/PySide2/include/PySide2 -IAppLib -IC:/Users/Sharon/QtWidgets -IC:/Users/Sharon/QtGui -IC:/Users/Sharon/QtCore -IWoods/AppData/Local/Programs/Python/Python36/lib/site-packages/PySide2/include/shiboken2/QtWidgets -IWoods/AppData/Local/Programs/Python/Python36/lib/site-packages/PySide2/include/shiboken2/QtGui -IWoods/AppData/Local/Programs/Python/Python36/lib/site-packages/PySide2/include/shiboken2/QtCore -IC:/Users/Sharon/QtWidgets -IC:/Users/Sharon/QtGui -IC:/Users/Sharon/QtCore -IWoods/AppData/Local/Programs/Python/Python36/lib/site-packages/PySide2/include/PySide2/QtWidgets -IWoods/AppData/Local/Programs/Python/Python36/lib/site-packages/PySide2/include/PySide2/QtGui -IWoods/AppData/Local/Programs/Python/Python36/lib/site-packages/PySide2/include/PySide2/QtCore -I..\..\..\Qt_Commercial\5.9.5\msvc2015_64\include -I..\..\..\Qt_Commercial\5.9.5\msvc2015_64\include\QtWidgets -I..\..\..\Qt_Commercial\5.9.5\msvc2015_64\include\QtGui -I..\..\..\Qt_Commercial\5.9.5\msvc2015_64\include\QtANGLE -I..\..\..\Qt_Commercial\5.9.5\msvc2015_64\include\QtCore -Irelease -I..\..\..\Qt_Commercial\5.9.5\msvc2015_64\mkspecs\win32-msvc
Attachments
For Gerrit Dashboard: PYSIDE-689 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
238693,7 | Improve scriptableapplication compile | 5.11 | pyside/pyside-setup | Status: ABANDONED | -1 | 0 |