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

PySide build fails in Yocto / meta-qt6

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.8.1
    • 6.8
    • PySide
    • None
    • Linux/Yocto
    • 3f170dc2c (dev), 00be3d219 (6.8), 22c76b24f (6.8.1), f9dada235 (tqtc/6.8.1)

    Description

      Latest submodule update in 6.8.1 branch for meta-qt6 (https://codereview.qt-project.org/c/yocto/meta-qt6/+/604632) fails for PySide with error:

       

      agent:2024/11/18 06:41:25 build.go:404: | /home/qt/work/build/build/tmp/work/core2-32-poky-linux/python3-pyside6/6.8.1/build/PySide6/QtGraphs/PySide6/QtGraphs/qxyseries_wrapper.h:15:33: error: invalid use of incomplete type 'class QXYSeries'
      agent:2024/11/18 06:41:25 build.go:404: |    15 | class QXYSeriesWrapper : public QXYSeries
      agent:2024/11/18 06:41:25 build.go:404: |       |                                 ^~~~~~~~~
      agent:2024/11/18 06:41:25 build.go:404: | In file included from /home/qt/work/build/build/tmp/work/core2-32-poky-linux/python3-pyside6/6.8.1/build/PySide6/QtGraphs/PySide6/QtGraphs/qxyseries_wrapper.cpp:33:
      agent:2024/11/18 06:41:25 build.go:404: | /home/qt/work/build/build/tmp/work/core2-32-poky-linux/python3-pyside6/6.8.1/build/PySide6/QtGraphs/PySide6/QtGraphs/pyside6_qtgraphs_python.h:70:7: note: forward declaration of 'class QXYSeries'
      agent:2024/11/18 06:41:25 build.go:404: |    70 | class QXYSeries;
      agent:2024/11/18 06:41:25 build.go:404: |       |       ^~~~~~~~~
      agent:2024/11/18 06:41:25 build.go:404: | /home/qt/work/build/build/tmp/work/core2-32-poky-linux/python3-pyside6/6.8.1/build/PySide6/QtGraphs/PySide6/QtGraphs/qxyseries_wrapper.h:23:10: error: 'void QXYSeriesWrapper::childEvent(QChildEvent*)' marked 'override', but does not override
      agent:2024/11/18 06:41:25 build.go:404: |    23 |     void childEvent(::QChildEvent * event) override; 
      .
      .
      .

      ...and so on. Full log attached, also available in testresults.qt.io here

       

      Attachments

        For Gerrit Dashboard: PYSIDE-2927
        # Subject Branch Project Status CR V

        Activity

          People

            kleint Friedemann Kleint
            gronoff Mikko Gronoff
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes