Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Latest PySide2 with QT 5.5 build failure on mac OS 10.10 with Xcode 6.4

Latest PySide2 with QT 5.5 build failure on mac OS 10.10 with Xcode 6.4

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
pysidepythonmac os
2 Posts 1 Posters 1.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    blacey
    wrote on 15 Jan 2017, 05:50 last edited by
    #1

    I'm seeing the following error when building PySide (HEAD b97da3e cloned from qt.io) on macOS 10.10 with Xcode 6.4 (required config for FreeCAD continuous-integration jobs) against Homebrew QT 5.5.

    Config:

    CPU: quad-core 64-bit haswell
    Homebrew Ruby: 2.0.0-p481
    Clang: 6.1 build 602
    Git: 2.11.0 => /usr/local/bin/git
    Perl: /usr/bin/perl
    Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/bin/python2.7
    Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
    Java: N/A
    macOS: 10.10.5-x86_64
    Xcode: 6.4
    CLT: 7.2.0.0.1.1447826929
    X11: N/A
    
    blacey$ git clone --recursive https://codereview.qt-project.org/pyside/pyside-setup
    blacey$ cd pyside-setup
    blacey$ python setup.py install --openssl=/usr/local/opt/openssl
    /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'setup.py': [Errno 2] No such file or directory
    VMWare-1010:sources blacey$ cd ..
    VMWare-1010:pyside-setup blacey$ python setup.py install --openssl=/usr/local/opt/openssl
    running install
    running build
    Initializing submodules for PySide2 version 2.0.0.dev0
    All submodules present...
    Submodule shiboken2 has branch dev checked out
    Submodule pyside2 has branch dev checked out
    Submodule pyside2-tools has branch dev checked out
    Submodule pyside2-examples has branch dev checked out
    Submodule wiki has branch master checked out
    Removing /Users/blacey/pyside-setup/pyside_package
    Python architecture is 64bit
    Inserting path "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/bin" to environment
    Inserting path "/Users/blacey/pyside-setup/pyside2_install/py2.7-qt5.5.1-64bit-release/bin" to environment
    ==============================
    Package version: 2.0.0.dev0
    Build type: Release
    Build tests: False
    ---
    Make path: /usr/bin/make
    Make generator: Unix Makefiles
    Make jobs: 
    ---
    Script directory: /Users/blacey/pyside-setup
    Sources directory: /Users/blacey/pyside-setup/sources
    Build directory: /Users/blacey/pyside-setup/pyside2_build/py2.7-qt5.5.1-64bit-release
    Install directory: /Users/blacey/pyside-setup/pyside2_install/py2.7-qt5.5.1-64bit-release
    Python site-packages install directory: /Users/blacey/pyside-setup/pyside2_install/py2.7-qt5.5.1-64bit-release/lib/python2.7/site-packages
    ---
    Python executable: /usr/local/opt/python/bin/python2.7
    Python includes: /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/include/python2.7
    Python library: /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib
    Python prefix: /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7
    Python scripts: /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/bin
    ---
    Qt qmake: /usr/local/bin/qmake
    Qt version: 5.5.1
    Qt bins: /usr/local/Cellar/qt@5.5/5.5.1/bin
    Qt docs: /usr/local/Cellar/qt@5.5/5.5.1/doc
    Qt plugins: /usr/local/Cellar/qt@5.5/5.5.1/plugins
    ---
    OpenSSL libs: /usr/local/opt/openssl
    

    shiboken2 builds fine but PySide2 fails with the following

    Generating class model...                    [OK]
    Generating enum model...                     [OK]
    Generating namespace model...                [OK]
    Resolving typedefs...                        [OK]
    Fixing class inheritance...                  [OK]
    Detecting inconsistencies in class model...  [OK]
    [OK]
    qt.shiboken: type 'QQuickAsyncImageProvider' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
    qt.shiboken: enum 'QJSEngine::Extension' is specified in typesystem, but not declared
    qt.shiboken: enum 'Qt::EnterKeyType' is specified in typesystem, but not declared
    qt.shiboken: type 'QQuickImageResponse' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
    qt.shiboken: signature 'parent()const' for function modification in 'QSortFilterProxyModel' not found. Possible candidates: parent(QModelIndex)const in QSortFilterProxyModel
    
    Done, 2408ms, 5 warnings (688 known issues)
    [ 92%] Building CXX object PySide2/QtQuick/CMakeFiles/QtQuick.dir/PySide2/QtQuick/qquickasyncimageprovider_wrapper.cpp.o
    clang: error: no such file or directory: '/Users/blacey/pyside-setup/pyside2_build/py2.7-qt5.5.1-64bit-release/pyside2/PySide2/QtQuick/PySide2/QtQuick/qquickasyncimageprovider_wrapper.cpp'
    clang: error: no input files
    make[2]: *** [PySide2/QtQuick/CMakeFiles/QtQuick.dir/PySide2/QtQuick/qquickasyncimageprovider_wrapper.cpp.o] Error 1
    make[1]: *** [PySide2/QtQuick/CMakeFiles/QtQuick.dir/all] Error 2
    make: *** [all] Error 2
    error: Error compiling pyside2
    

    The legacy PySide2 from GitHub builds and installs fine.

    Any ideas?

    Also, if this is the wrong place to raise this issue, please feel free to nudge/redirect me to the proper venue.

    Thanks,
    Bruce

    1 Reply Last reply
    1
    • B Offline
      B Offline
      blacey
      wrote on 15 Jan 2017, 17:09 last edited by
      #2

      I traced the build failure down to pyside commit eb28469e - "Fix QtQuick bindings generation". I haven't had a chance to triage the root cause but pyside builds on macOS up through the previous commit.

      1 Reply Last reply
      1

      2/2

      15 Jan 2017, 17:09

      • Login

      • Login or register to search.
      2 out of 2
      • First post
        2/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved