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

Example not compiling due 'quick/scenegraph/d3d11underqml/d3d11squircle.cpp:56:10: fatal error: d3d11.h: No such file or directory'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • 6.0.0 RC
    • 6.0.0 Alpha, 6.0.0 Beta2
    • Quick: Other
    •  Tested on Ubuntu 20.04 x64

    Description

      Example not compiling:

      Examples/Qt-6.0.0/quick/scenegraph/d3d11underqml

      Build fails with:

      [  5%] Automatic MOC and UIC for target d3d11underqml
      [ 22%] Built target d3d11underqml_autogen
      [ 27%] Running Automoc file extraction
      [ 27%] Built target d3d11underqml_automoc_json_extraction
      [ 33%] Building CXX object CMakeFiles/d3d11underqml.dir/d3d11squircle.cpp.o
      /home/qt/RTA/qt5/Examples/Qt-6.0.0/quick/scenegraph/d3d11underqml/d3d11squircle.cpp:56:10: fatal error: d3d11.h: No such file or directory
         56 | #include <d3d11.h>
            |          ^~~~~~~~~
      compilation terminated.
      make[2]: *** [CMakeFiles/d3d11underqml.dir/build.make:130: CMakeFiles/d3d11underqml.dir/d3d11squircle.cpp.o] Error 1
      make[1]: *** [CMakeFiles/Makefile2:98: CMakeFiles/d3d11underqml.dir/all] Error 2
      make: *** [Makefile:149: all] Error 2
      

      SHA1: ca02358af27b458739cba29086ff6ad19196d431

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes