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

no-opengl build fails on quick3d

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 6.4
    • Fix Version/s: 6.4.0 Beta1
    • Component/s: Quick: 3D
    • Labels:
      None
    • Commits:
      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

        For Gerrit Dashboard: QTBUG-102209
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            qt.team.graphics.and.multimedia Qt Graphics Team
            Reporter:
            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