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

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 5.9, 5.11.0
    • PySide
    • 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
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes