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

compile error for angle build of qt 5.5 beta with vs2015

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.5.0 RC
    • 5.5.0 Alpha
    • Build System
    • None
    • Windows 7, windows 8.1 sdk installed, VS2015RC
    • 4b7d70886f710767c2b163a08da44d3a7b80479c

      Hello,
      can it be that vs1025 angle builds of qt are not in the CI?
      I get the error thaat DXSDK_DIR is not set. I found out that the problem is in
      qtbase\src\angle\src\common\common.pri
      there you find

      # DirectX is included in the Windows 8 Kit, but everything else requires the DX SDK.
      win32-msvc2012|win32-msvc2013|winrt {
          FXC = fxc.exe
      } else {
          DX_DIR = $$(DXSDK_DIR)
          isEmpty(DX_DIR) {
              error("Cannot determine DirectX SDK location. Please set DXSDK_DIR environment variable.")
          }
      

      add win32-msvc2015 as in

      win32-msvc2012|win32-msvc2013|win32-msvc2015|winrt {
      

      solves this.

      I suggest to rephrase that condition, as in

      win32-msvc2005|win32-msvc2008|win32-msvc20010|!winrt {
      } else {
          DX_DIR = $$(DXSDK_DIR)
          isEmpty(DX_DIR) {
              error("Cannot determine DirectX SDK location. Please set DXSDK_DIR environment variable.")
          }
       
      [...]
      } else {
          FXC = fxc.exe
      }
      

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

            buddenha Oswald Buddenhagen
            gunnar.roth Gunnar Roth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes