Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QtCreator: can't leave empty `sysroot` for CLang compiler
I'm trying to build app for desktop using CLang.
I can see tooltip that tells me that I need to leave empty sysroot if I build for desktop but whenever I remove everything from this line and open
kitsagain I can see that it is still set to
I ve tried to remove build dir, delete
.userfile but nothing helped.
Similar problem was described here but it doesn't completely fit my needs
@Please_Help_me_D Why do you want to use Clang with MSVC2019 Qt?!
@jsulm just trying. I want to test whether I can compile my app with clang
@Please_Help_me_D Since Qt you're using was build with MSVC2019 compiler you can't (you can't mix binaries built with different C++ compilers)...
You would need to build Qt also with same compiler.
@jsulm I forgot to tell that for now I don't use Qt in my app. Project is based on CMake and there is no any Qt dependancy.
For this app I use Qt creator as editor
@Please_Help_me_D Try to unset Qt version in that Kit
Please_Help_me_D last edited by Please_Help_me_D
@jsulm didn't help
By the way, when using
Clang-cldoesn't have such problem: