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. Building PySide2 failed
Qt 6.11 is out! See what's new in the release blog

Building PySide2 failed

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 591 Views 1 Watching
  • 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.
  • M Offline
    M Offline
    MauricioA
    wrote on last edited by
    #1

    I'm try to install PySide2, based on this manual: https://doc.qt.io/qtforpython-5/gettingstarted-macOS.html
    When I run the commnand on step Building PySide2, the proccess fail.

    Command: python setup.py build --qmake=/Users/mauricio/Qt/5.15.2/clang_64/bin/qmake --build-tests --ignore-git --parallel=8

    Error: Project ERROR: failed to parse default search paths from compiler output
    error: Failed to query for Qt's QMAKE_MACOSX_DEPLOYMENT_TARGET.
    Traceback (most recent call last):
    File "/Users/mauricioatehortua/pyside-setup/setup.py", line 296, in <module>
    setup_runner.run_setup()
    File "/Users/mauricioatehortua/pyside-setup/build_scripts/setup_runner.py", line 168, in run_setup
    raise RuntimeError(msg)
    RuntimeError:
    setup.py invocation failed with exit code: 1.

    Any sugestions to solve it?
    My QT version: 5.15
    CMake version: 3.29
    libclang version 10
    My device is MAC M1 (macos 14.3.1)

    Thanks!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      There was an issue with a change in the latest Xcode that required to patch the detection that triggers your error.

      See this bug report.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

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