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

Qt3DRender build failure: error: 'QVector3D' file not found

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 5.12.0
    • 5.9
    • PySide
    • None

    Description

      On Linux, qt 5.10.0, with qt3d module installed the build fails:

      ```

      [ 89%] Running generator for Qt3DRender...
      qt.shiboken: (3drender) Duplicate type entry: 'QTransform'
      qt.shiboken: (3drender) Duplicate type entry: 'QBuffer'
      (3drender) clang_parseTranslationUnit2(0x0, cmd[14]=-nostdinc -isystem/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../include/c+/7.3.0 -isystem/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../include/c/7.3.0/x86_64-pc-linux-gnu -isystem/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../include/c/7.3.0/backward -isystem/usr/local/include -isystem/usr/lib/clang/5.0.1/include -isystem/usr/include -std=c+14 -fPIC -fno-exceptions -Wno-constant-logical-operand -I/home/schueller/projects/aur-scripts/pyside2-git/src/pyside2-git/sources/pyside2/PySide2 -I/usr/include/qt/ /tmp/Qt3DRender_global_OFCTwo.hpp)
      /usr/include/qt/Qt3DRender/qabstractlight.h:46:10: fatal error: 'QVector3D' file not found
      (3drender) Errors in /tmp/Qt3DRender_global_OFCTwo.hpp:
      /usr/include/qt/Qt3DRender/qabstractlight.h:46:10: fatal: 'QVector3D' file not found
      /tmp/Qt3DRender_global_OFCTwo.hpp:1:10: note: in file included from /tmp/Qt3DRender_global_OFCTwo.hpp:1:
      /home/schueller/projects/aur-scripts/pyside2-git/src/pyside2-git/sources/pyside2/build-py2/PySide2/Qt3DRender_global.h:60:10: note: in file included from /home/schueller/projects/aur-scripts/pyside2-git/src/pyside2-git/sources/pyside2/build-py2/PySide2/Qt3DRender_global.h:60:
      /usr/include/qt/Qt3DRender/Qt3DRender:5:10: note: in file included from /usr/include/qt/Qt3DRender/Qt3DRender:5:

      (3drender) Clang: 1 diagnostic messages:
      /usr/include/qt/Qt3DRender/qabstractlight.h:46:10: fatal: 'QVector3D' file not found
      /tmp/Qt3DRender_global_OFCTwo.hpp:1:10: note: in file included from /tmp/Qt3DRender_global_OFCTwo.hpp:1:
      /home/schueller/projects/aur-scripts/pyside2-git/src/pyside2-git/sources/pyside2/build-py2/PySide2/Qt3DRender_global.h:60:10: note: in file included from /home/schueller/projects/aur-scripts/pyside2-git/src/pyside2-git/sources/pyside2/build-py2/PySide2/Qt3DRender_global.h:60:
      /usr/include/qt/Qt3DRender/Qt3DRender:5:10: note: in file included from /usr/include/qt/Qt3DRender/Qt3DRender:5:

      Keeping temporary file: /tmp/Qt3DRender_global_OFCTwo.hpp
      shiboken: Error running ApiExtractor.
      Command line: --generator-set=shiboken --enable-parent-ctor-heuristic --enable-pyside-extensions --enable-return-value-heuristic --use-isnull-as-nb_nonzero /home/schueller/projects/aur-scripts/pyside2-git/src/pyside2-git/sources/pyside2/build-py2/PySide2/Qt3DRender_global.h --include-paths=/home/schueller/projects/aur-scripts/pyside2-git/src/pyside2-git/sources/pyside2/PySide2:/usr/include/qt/ --typesystem-paths=/home/schueller/projects/aur-scripts/pyside2-git/src/pyside2-git/sources/pyside2/build-py2/PySide2:/home/schueller/projects/aur-scripts/pyside2-git/src/pyside2-git/sources/pyside2/PySide2:/home/schueller/projects/aur-scripts/pyside2-git/src/pyside2-git/sources/pyside2/PySide2/Qt3DRender --output-directory=/home/schueller/projects/aur-scripts/pyside2-git/src/pyside2-git/sources/pyside2/build-py2/PySide2/Qt3DRender --license-file=/home/schueller/projects/aur-scripts/pyside2-git/src/pyside2-git/sources/pyside2/PySide2/Qt3DRender/../licensecomment.txt /home/schueller/projects/aur-scripts/pyside2-git/src/pyside2-git/sources/pyside2/PySide2/Qt3DRender/typesystem_3drender.xml --api-version=5.10 --drop-type-entries=
      make[2]: *** [PySide2/Qt3DRender/CMakeFiles/Qt3DRender.dir/build.make:63: PySide2/Qt3DRender/PySide2/Qt3DRender/qt3drender_wrapper.cpp] Error 1
      make[1]: *** [CMakeFiles/Makefile2:2081: PySide2/Qt3DRender/CMakeFiles/Qt3DRender.dir/all] Error 2
      make: *** [Makefile:130: all] Error 2

      ```

      Attachments

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

        Activity

          People

            ctismer Christian Tismer
            jschueller Julien Schueller
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes