Qt Creator 4.9.2
Host: Linux 4.15 x86_64
Target: QNX 7.0 x86_64
Simple Qt Quick project is created using CMake build for QNX 7.0 kit.
Configuration fails with following output:
cc: unknown option: '--sysroot
This can be 'fixed' by unsetting SYSROOT option like this:
cmake . -DCMAKE_SYSROOT:STRING=
Unfortunately then the next issue pops up:
No known features for CXX compiler "QCC"
As a user I'd like to see the project configure and build without me modifying the toolchain files or QTCreator. Is it possible to fix this in QTCreator?
This issue is related to: #
- relates to
QTCREATORBUG-20392 CMake: Qt Creator is unable to configure and build a project with CMAKE_TOOLCHAIN_FILE
- resulted from
QT3DS-2038 Support customer project J