Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 4.9.2, Qt Creator 4.10.0-beta2, Qt Creator 4.11.0-beta1
-
None
-
* QtC from master branch (4.11?)
* Windows 10
* Clang 8.0 : http://releases.llvm.org/8.0.0/LLVM-8.0.0-win32.exe
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
For Gerrit Dashboard: QTCREATORBUG-22738 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
268316,2 | ProjectExplorer: Fix using clang on Windows | 4.10 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
268317,2 | QbsProjectManager: Set qbs.architecture, not just qbs.architectures | 4.10 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |