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

Shiboken/PySide Build from Source is Failing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.12.0
    • PySide, Shiboken
    • None
    • OS: openSUSE Leap 42.3
      GCC: 4.8.5 (SUSE Linux)
      Qt: 5.12.0 (from Qt web installer)
      QMAKESPEC: linux-g++ or linux-clang
      libclang: 6.0
      cmake: 3.5.2
      git: 2.13.7
      Python: 3.6.7 (Anaconda)
      Anaconda: 4.5.11
    • Linux/X11

    Description

      UPDATE:

      I reinstalled linux and tried the build again. The build still fails but the issue is a duplicate of 

      QTBUG-71945

      This is closed and should be fixed in 5.12.1

       

      I'm trying to build Shiboken/Pyside from source on linux and I receive the following error:

       
      [  1%] Built target QtPrintSupport_generator
      qt.shiboken: (widgets) There's no user provided way (conversion rule, argument removal, custom code, etc) to handle the primitive type 'bool *' of argument 8 in function 'QInputDialog::getDouble(QWidget * parent, const QString & title, const QString & label, double value, double minValue, double maxValue, int decimals, bool * ok, QFlags<Qt::WindowType> flags, double step)'.
      Done, 42015ms, 16 warnings (1005 known issues)
      [  1%] Built target QtWidgets_generator
      Makefile:138: recipe for target 'all' failed
      make: *** [all] Error 2
      error: Error compiling pyside2
      Traceback (most recent call last):
        File "setup.py", line 289, in <module>
          setup_runner.run_setup()
        File "/home/jenkins/repos/pyside-setup/build_scripts/setup_runner.py", line 157, in run_setup
          raise RuntimeError(msg)
      RuntimeError: 
      setup.py invocation failed with exit code: 1.
       
       
      setup.py invocation was: /home/jenkins/anaconda3/envs/py36/bin/python setup.py build --qmake=/home/jenkins/Qt/5.12.0/gcc_64/bin/qmake --build-tests --ignore-git --parallel=8 --internal-build-type=pyside2

      I was able to get this to work on macOS and Windows and I followed the instructions on:

      https://wiki.qt.io/Qt_for_Python/GettingStarted/X11
       
      The error doesn't contain very much information.  Please let me know what other information I can provide.
       
      Thank you,
       
      Dylan
       
       
       
       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            dylanb Dylan Bespalko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes