Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-689

Could not build scriptableapplication on Windows when space in path name

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.9, 5.11.0, dev
    • Fix Version/s: None
    • Component/s: PySide
    • Labels:
    • Environment:
      Windows 10 64bit

      Python 3.6 64bit

      Pyside2 cloned June 6, 2018

      Compiler – MSVC 2015 

      Qt 5.9.5

      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

        1. Makefile.Release
          67 kB
        2. pyside2_config_output.txt
          1 kB
        3. qmake_issues.txt
          0.7 kB
        For Gerrit Dashboard: PYSIDE-689
        # Subject Branch Project Status CR V

          Activity

            People

            • Assignee:
              crmaurei Cristian Maureira-Fredes
              Reporter:
              sharon.woods Sharon Woods
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There is 1 open Gerrit change