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

rendernode example builds incorrectly for D3D when out of tree

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.8.0 RC
    • 5.8.0 Beta
    • Quick: SceneGraph
    • None
    • ffcfc9099be1425009eda3afe9e5057b73070b66

      The new rendernode example in quick/scenegraph contains optional code that is guarded by

      config_d3d12 { ... }
      

      in the .pro. This works in in-tree example builds but apparently fails to trigger when building the example as shipped in the official packages (since the module-specific .qmake.cache with CONFIG+=config_d3d12 is gone there).

      The result is an executable that crashes when running on D3D12 due to not having the necessary code paths compiled in.

      Switching to qtConfig(d3d12) does not work since d3d12 is not a feature in qtbase.

      How can an example test for the success of a module-specific config test?

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

            lagocs Laszlo Agocs
            lagocs Laszlo Agocs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes