Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-102209

no-opengl build fails on quick3d

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 6.4.0 Beta1
    • 6.4
    • Quick: 3D
    • None
    • 14c82b3a9a (qt/qtquick3d/dev) 14c82b3a9a (qt/qtquick3d/6.4)

    Description

      After commit https://codereview.qt-project.org/c/qt/qtquick3d/+/402727 no-opengl build fails

      agent:2022/04/01 07:14:30 build.go:394: | /home/qt/work/build/build/tmp/work/x86_64-linux/qtquick3d-native/6.4.0-r0/git/src/runtimerender/qssgrendershadercache.cpp: In function ‘void initBaker(QShaderBaker*, QRhi*)’:
      agent:2022/04/01 07:14:30 build.go:394: | /home/qt/work/build/build/tmp/work/x86_64-linux/qtquick3d-native/6.4.0-r0/git/src/runtimerender/qssgrendershadercache.cpp:131:36: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
      agent:2022/04/01 07:14:30 build.go:394: |   131 |         auto h = static_cast<const QRhiGles2NativeHandles *>(rhi->nativeHandles());
      agent:2022/04/01 07:14:30 build.go:394: |       |                                    ^~~~~~~~~~~~~~~~~~~~~~
      agent:2022/04/01 07:14:30 build.go:394: | /home/qt/work/build/build/tmp/work/x86_64-linux/qtquick3d-native/6.4.0-r0/git/src/runtimerender/qssgrendershadercache.cpp:131:36: error: expected ‘>’ before ‘QRhiGles2NativeHandles’
      agent:2022/04/01 07:14:30 build.go:394: | /home/qt/work/build/build/tmp/work/x86_64-linux/qtquick3d-native/6.4.0-r0/git/src/runtimerender/qssgrendershadercache.cpp:131:36: error: expected ‘(’ before ‘QRhiGles2NativeHandles’
      agent:2022/04/01 07:14:30 build.go:394: |   131 |         auto h = static_cast<const QRhiGles2NativeHandles *>(rhi->nativeHandles());
      agent:2022/04/01 07:14:30 build.go:394: |       |                                    ^~~~~~~~~~~~~~~~~~~~~~
      agent:2022/04/01 07:14:30 build.go:394: |       |                                    (
      agent:2022/04/01 07:14:30 build.go:394: | /home/qt/work/build/build/tmp/work/x86_64-linux/qtquick3d-native/6.4.0-r0/git/src/runtimerender/qssgrendershadercache.cpp:131:36: error: ‘QRhiGles2NativeHandles’ was not declared in this scope; did you mean ‘QRhiNativeHandles’?
      agent:2022/04/01 07:14:30 build.go:394: |   131 |         auto h = static_cast<const QRhiGles2NativeHandles *>(rhi->nativeHandles());
      agent:2022/04/01 07:14:30 build.go:394: |       |                                    ^~~~~~~~~~~~~~~~~~~~~~
      agent:2022/04/01 07:14:30 build.go:394: |       |                                    QRhiNativeHandles
      agent:2022/04/01 07:14:30 build.go:394: | /home/qt/work/build/build/tmp/work/x86_64-linux/qtquick3d-native/6.4.0-r0/git/src/runtimerender/qssgrendershadercache.cpp:131:60: error: expected primary-expression before ‘>’ token
      agent:2022/04/01 07:14:30 build.go:394: |   131 |         auto h = static_cast<const QRhiGles2NativeHandles *>(rhi->nativeHandles());
      agent:2022/04/01 07:14:30 build.go:394: |       |                                                            ^
      agent:2022/04/01 07:14:30 build.go:394: | /home/qt/work/build/build/tmp/work/x86_64-linux/qtquick3d-native/6.4.0-r0/git/src/runtimerender/qssgrendershadercache.cpp:131:83: error: expected ‘)’ before ‘;’ token
      agent:2022/04/01 07:14:30 build.go:394: |   131 |         auto h = static_cast<const QRhiGles2NativeHandles *>(rhi->nativeHandles());
      agent:2022/04/01 07:14:30 build.go:394: |       |                                                                                   ^
      agent:2022/04/01 07:14:30 build.go:394: |       |                                                                                   ) 

      Attachments

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

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            sapiippo Samuli Piippo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes