Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-22738

qbs.{atchitecture|targetPlatform} is empty with Clang on Windows

    XMLWordPrintable

Details

    • Windows

    Description

      Created QBS kit from the QtC with clang compiler on Windows host contains an empty properties:

      • qbs.architecture
      • qbs.targetPlatform

      that leads to the impossibility to compile any of QBS project.. f.e. I tried to open the "helloworld-minimal" project. At attempt to open this project from QtC, using the Clang's Kit, I got the following parse errors:

      E:\git\ng\git\123\qbs-git\qbs\examples\helloworld-minimal\hello.qbs:53: Error while handling product 'HelloWorld-minimal':
      
      The selected compiler 'C:/Program Files (x86)/LLVM/bin/clang++.exe' produces code for 'x86-windows-little-endian', but 'x86--little-endian' was given, which is incompatible. If you are absolutely certain that your configuration is correct (check the values of the qbs.architecture, qbs.targetPlatform, and qbs.endianness properties) and that this message has been emitted in error, set the cpp.validateTargetTriple property to false. However, you should consider submitting a bug report in any case.
      
      E:\git\ng\git\123\qbs-git\qbs\examples\helloworld-minimal\hello.qbs:53: Product 'HelloWorld-minimal' had errors and was disabled.
      

      Attachments

        1. clang-qbs-empty.png
          27 kB
          Denis Shienkov

        Activity

          People

            kandeler Christian Kandeler
            kuzulis Denis Shienkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: