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

Compilation failure with qt dev

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.8
    • Build System
    • None

    Description

      This is the build failure I get when building pyside with https://github.com/qtproject/pyside-pyside-setup/

      LLVM_INSTALL_DIR=/usr/lib64/llvm16 python setup.py install --qtpaths=/home/carl/kde6/usr/bin/qtpaths6 --prefix=~/kde6/usr 
      [122/258] Building CXX object PySide6/QtTest/CMakeFiles/QtTest.dir/Unity/unity_0_cxx.cxx.o 
      FAILED: PySide6/QtTest/CMakeFiles/QtTest.dir/Unity/unity_0_cxx.cxx.o  
      /usr/lib64/ccache/c++ -DNDEBUG -DPy_LIMITED_API=0x03060000 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_LEAN_HEADERS=1 -DQT_NO_DEBUG -DQT_TESTCASE_BUILDDIR=\"/home/carl/kde6/src/pyside-pyside-setup/build/qfp-py3.12-qt6.8.0-64bit-release/build/pysid
      e6/PySide6/QtTest\" -DQT_TESTCASE_SOURCEDIR=\"/home/carl/kde6/src/pyside-pyside-setup/sources/pyside6/PySide6/QtTest\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQtTest_EXPORTS -I/home/carl/kde6/src/pyside-pyside-setup/sources/pyside6/PySide6
      /QtTest/QtTest -I/home/carl/kde6/src/pyside-pyside-setup/sources/pyside6/PySide6/QtTest -I/home/carl/kde6/src/pyside-pyside-setup/build/qfp-py3.12-qt6.8.0-64bit-release/build/pyside6/PySide6/QtTest -I/home/carl/kde6/src/pyside-pyside-s
      etup/sources/pyside6/libpyside -I/home/carl/kde6/src/pyside-pyside-setup/build/qfp-py3.12-qt6.8.0-64bit-release/build/pyside6/PySide6/QtCore/PySide6/QtCore -I/home/carl/kde6/src/pyside-pyside-setup/build/qfp-py3.12-qt6.8.0-64bit-releas
      e/build/pyside6/PySide6/QtGui/PySide6/QtGui -I/home/carl/kde6/src/pyside-pyside-setup/build/qfp-py3.12-qt6.8.0-64bit-release/build/pyside6/PySide6/QtWidgets/PySide6/QtWidgets -I/home/carl/kde6/src/pyside-pyside-setup/sources/pyside6/Py
      Side6 -isystem /home/carl/kde6/usr/include/QtCore -isystem /home/carl/kde6/usr/include -isystem /home/carl/kde6/usr/include/QtGui -isystem /home/carl/kde6/usr/include/QtWidgets -isystem /home/carl/kde6/usr/include/QtTest -isystem /home
      /carl/kde6/usr/mkspecs/linux-g++ -isystem /home/carl/kde6/src/pyside-pyside-setup/build/qfp-py3.12-qt6.8.0-64bit-release/install/include/shiboken6 -isystem /usr/include/python3.12 -Wall -Wextra -Wno-strict-aliasing -Wno-cast-function-t
      ype -fvisibility=hidden -Os -DNDEBUG -std=gnu++17 -fPIC   -fPIC -ffunction-sections -fdata-sections -fno-exceptions -fPIC -MD -MT PySide6/QtTest/CMakeFiles/QtTest.dir/Unity/unity_0_cxx.cxx.o -MF PySide6/QtTest/CMakeFiles/QtTest.dir/Uni
      ty/unity_0_cxx.cxx.o.d -o PySide6/QtTest/CMakeFiles/QtTest.dir/Unity/unity_0_cxx.cxx.o -c /home/carl/kde6/src/pyside-pyside-setup/build/qfp-py3.12-qt6.8.0-64bit-release/build/pyside6/PySide6/QtTest/CMakeFiles/QtTest.dir/Unity/unity_0_c
      xx.cxx 
      In file included from /home/carl/kde6/src/pyside-pyside-setup/build/qfp-py3.12-qt6.8.0-64bit-release/build/pyside6/PySide6/QtTest/CMakeFiles/QtTest.dir/Unity/unity_0_cxx.cxx:10: 
      /home/carl/kde6/src/pyside-pyside-setup/build/qfp-py3.12-qt6.8.0-64bit-release/build/pyside6/PySide6/QtTest/PySide6/QtTest/qsignalspy_wrapper.cpp: In function ‘int Sbk_QSignalSpy_Init(PyObject*, PyObject*, PyObject*)’: 
      /home/carl/kde6/src/pyside-pyside-setup/build/qfp-py3.12-qt6.8.0-64bit-release/build/pyside6/PySide6/QtTest/PySide6/QtTest/qsignalspy_wrapper.cpp:127:28: error: expected type-specifier before ‘QSignalSpyWrapper’ 
       127 |                 cptr = new QSignalSpyWrapper(emitter, signature.constData()); 
           |                            ^~~~~~~~~~~~~~~~~ 
      [126/258] Building CXX object PySide6/QtHelp/CMakeFiles/QtHelp.dir/Unity/unity_0_cxx.cxx.o 
      FAILED: PySide6/QtHelp/CMakeFiles/QtHelp.dir/Unity/unity_0_cxx.cxx.o  
      /usr/lib64/ccache/c++ -DNDEBUG -DPy_LIMITED_API=0x03060000 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_LEAN_HEADERS=1 -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQtHelp_EXPORTS -I/home/carl/kde6/src/pyside-pyside-setup/sources/pysi
      de6/PySide6/QtHelp/QtHelp -I/home/carl/kde6/src/pyside-pyside-setup/sources/pyside6/PySide6/QtHelp -I/home/carl/kde6/src/pyside-pyside-setup/build/qfp-py3.12-qt6.8.0-64bit-release/build/pyside6/PySide6/QtHelp -I/home/carl/kde6/src/pysi
      de-pyside-setup/sources/pyside6/libpyside -I/home/carl/kde6/src/pyside-pyside-setup/build/qfp-py3.12-qt6.8.0-64bit-release/build/pyside6/PySide6/QtWidgets/PySide6/QtWidgets -I/home/carl/kde6/src/pyside-pyside-setup/build/qfp-py3.12-qt6
      .8.0-64bit-release/build/pyside6/PySide6/QtGui/PySide6/QtGui -I/home/carl/kde6/src/pyside-pyside-setup/build/qfp-py3.12-qt6.8.0-64bit-release/build/pyside6/PySide6/QtCore/PySide6/QtCore -I/home/carl/kde6/src/pyside-pyside-setup/sources
      /pyside6/PySide6 -isystem /home/carl/kde6/usr/include/QtCore -isystem /home/carl/kde6/usr/include -isystem /home/carl/kde6/usr/include/QtGui -isystem /home/carl/kde6/usr/include/QtWidgets -isystem /home/carl/kde6/usr/include/QtHelp -is
      ystem /home/carl/kde6/usr/mkspecs/linux-g++ -isystem /home/carl/kde6/usr/include/QtSql -isystem /home/carl/kde6/src/pyside-pyside-setup/build/qfp-py3.12-qt6.8.0-64bit-release/install/include/shiboken6 -isystem /usr/include/python3.12 -
      Wall -Wextra -Wno-strict-aliasing -Wno-cast-function-type -fvisibility=hidden -Os -DNDEBUG -std=gnu++17 -fPIC   -fPIC -ffunction-sections -fdata-sections -fno-exceptions -fPIC -MD -MT PySide6/QtHelp/CMakeFiles/QtHelp.dir/Unity/unity_0_
      cxx.cxx.o -MF PySide6/QtHelp/CMakeFiles/QtHelp.dir/Unity/unity_0_cxx.cxx.o.d -o PySide6/QtHelp/CMakeFiles/QtHelp.dir/Unity/unity_0_cxx.cxx.o -c /home/carl/kde6/src/pyside-pyside-setup/build/qfp-py3.12-qt6.8.0-64bit-release/build/pyside
      6/PySide6/QtHelp/CMakeFiles/QtHelp.dir/Unity/unity_0_cxx.cxx 
      In file included from /home/carl/kde6/src/pyside-pyside-setup/build/qfp-py3.12-qt6.8.0-64bit-release/build/pyside6/PySide6/QtHelp/CMakeFiles/QtHelp.dir/Unity/unity_0_cxx.cxx:22: 
      /home/carl/kde6/src/pyside-pyside-setup/build/qfp-py3.12-qt6.8.0-64bit-release/build/pyside6/PySide6/QtHelp/PySide6/QtHelp/qhelpenginecore_wrapper.cpp: In function ‘PyObject* Sbk_QHelpEngineCoreFunc_provideIndex(PyObject*, PyObject*)’: 
      /home/carl/kde6/src/pyside-pyside-setup/build/qfp-py3.12-qt6.8.0-64bit-release/build/pyside6/PySide6/QtHelp/PySide6/QtHelp/qhelpenginecore_wrapper.cpp:1644:111: error: ‘SBK_QFuture_QStringList_IDX’ was not declared in this scope; did y
      ou mean ‘SBK_QStringList_IDX’? 
      1644 |             pyResult = Shiboken::Conversions::copyToPython(Shiboken::Module::get(SbkPySide6_QtCoreTypeStructs[SBK_QFuture_QStringList_IDX]), &cppResult); 
           |                                                                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 
           |                                                                                                               SBK_QStringList_IDX 
      /home/carl/kde6/src/pyside-pyside-setup/build/qfp-py3.12-qt6.8.0-64bit-release/build/pyside6/PySide6/QtHelp/PySide6/QtHelp/qhelpenginecore_wrapper.cpp: In function ‘PyObject* Sbk_QHelpEngineCoreFunc_provideIndexForCurrentFilter(PyObjec
      t*)’: 
      /home/carl/kde6/src/pyside-pyside-setup/build/qfp-py3.12-qt6.8.0-64bit-release/build/pyside6/PySide6/QtHelp/PySide6/QtHelp/qhelpenginecore_wrapper.cpp:1672:111: error: ‘SBK_QFuture_QStringList_IDX’ was not declared in this scope; did y
      ou mean ‘SBK_QStringList_IDX’? 
      1672 |             pyResult = Shiboken::Conversions::copyToPython(Shiboken::Module::get(SbkPySide6_QtCoreTypeStructs[SBK_QFuture_QStringList_IDX]), &cppResult); 
           |                                                                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 
           |                                                                                                               SBK_QStringList_IDX

      Attachments

        Issue Links

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

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              carl Carl Schwan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes