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

CMake functions for offline shader and light probe generation do not work on Android

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 6.1, 6.2
    • Fix Version/s: 6.2.0 Beta3, 6.3.0 Alpha
    • Component/s: Quick: 3D
    • Labels:
      None
    • Commits:
      b2b2684fbd2eba6e0dfdabf141508b01cded41b1 (qt/qtquick3d/dev) eddd0e3d04f58debfa428059e3d2edda88510964 (qt/qtquick3d/6.2)
    • Sprint:
      Qt Quick 3D - 2021 Week 31/32

      Description

      Build the offlineshaders example in an Android build, or try using the
      qt6_quick3d_bake_lightprobe_hdri function as suggested here: https://lists.qt-project.org/pipermail/interest/2021-August/037352.html

      None of these work in my Android build:

      CMake Error at C:/work/android/qtbase/lib/cmake/Qt6Quick3D/Qt6Quick3DMacros.cmake:42 (add_custom_command):
        Error evaluating generator expression:
      
          $<TARGET_FILE:Qt6::shadergen>
      
        No target "Qt6::shadergen"
      Call Stack (most recent call first):
        CMakeLists.txt:64 (qt6_quick3d_generate_materials)
      

      There is a highly relevant discussion in https://codereview.qt-project.org/c/qt/qtquick3d/+/362748

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.graphics.and.multimedia Qt Graphics Team
            Reporter:
            lagocs Laszlo Agocs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes