Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Failing to build PySide 6.9.2 in debug

Failing to build PySide 6.9.2 in debug

Scheduled Pinned Locked Moved Solved Qt for Python
5 Posts 2 Posters 259 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.
  • P Offline
    P Offline
    PY Lessard
    wrote last edited by
    #1

    I'd like to build PySide6 in debug mode to tackle a segfault I sometime get. Seems to eb in the destructor of QAbstractView (most likely QTreeView).

    My build fails, not sure why. Shiboken builds, but Pyside complains about missing Private component, but They are on disk.

    My build command

    #!/bin/bash
    set -euo pipefail 
    
    cd $(dirname $0)
    
    export LLVM_INSTALL_DIR="$PWD/libclang"
    python setup.py install --qtpaths=/home/py/Qt/6.10.2/gcc_64/bin/qtpaths6 \
                            --cmake=/usr/bin/cmake \
                            --ignore-git \
                            --debug \
                            --build-tests \
                            --parallel=8 \
                            --verbose-build \
                            --build-type=all \
                            --module-subset=Core,Gui,Widgets
    

    My build log is here : https://pastebin.com/zUn9ZQpm.
    Any help would be appreciated

    1 Reply Last reply
    0
    • P Offline
      P Offline
      PY Lessard
      wrote last edited by
      #2

      Whoosh. It was late when I posted. Qt install version (6.10.2) didn't match my PySide version (6.9.0).
      Both are at 6.9.3 and build succeeded

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

        Hi and welcome to devnet,

        Why delete your posts ?
        I am pretty sure that small mishap you had could happen to other people and the solution will be useful for others.

        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
        • P Offline
          P Offline
          PY Lessard
          wrote last edited by
          #4

          Ok, I restored my post :)

          1 Reply Last reply
          0
          • SGaistS SGaist has marked this topic as solved
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote last edited by
            #5

            Thank you ! :-)

            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