Qt Creator crashes when launching preferences
-
Hi all,
Launch qtcreator from ~/Qt/Tools/QtCreator/bin/qtcreator.sh, click on Edition-->preferences.
Then qtcreator crashes.SOFT ASSERT [23:39:30.782]: "!clangToolPath.isEmpty()" in ./src/plugins/clangtools/executableinfo.cpp:228 SOFT ASSERT [23:39:30.842]: "!clangToolPath.isEmpty()" in ./src/plugins/clangtools/executableinfo.cpp:228 /home/alain/.config/QtProject/qtcreator/.clang-format:166:1: error: unknown key 'RemoveParentheses' RemoveParentheses: Leave ^~~~~~~~~~~~~~~~~ Failure value returned from cantFail wrapped call Error reading /home/alain/.config/QtProject/qtcreator/.clang-format: Argument invalide UNREACHABLE executed at /usr/include/llvm-16/llvm/Support/Error.h:755!How can I get rid of this problem?
Thanks in advance -
Hi
Thanks for your input.
Version is : Qt Creator 10.0.2 Based on Qt 6.4.2 (GCC 13.2.0, x86_64)I moved away the qtcreator folder in the config, launch qtcreator which recreated a correct .clang-format file, copied this file in my qtcreator folder, then deleted the new qtcreator folder and replaced it by my old folder with the new .clang-format file and it seems to work.
-
What QtCreator version is this?
Try to rename /home/alain/.config/QtProject/qtcreator/.clang-format file. -
Hi
Thanks for your input.
Version is : Qt Creator 10.0.2 Based on Qt 6.4.2 (GCC 13.2.0, x86_64)I moved away the qtcreator folder in the config, launch qtcreator which recreated a correct .clang-format file, copied this file in my qtcreator folder, then deleted the new qtcreator folder and replaced it by my old folder with the new .clang-format file and it seems to work.
-
L lanigb has marked this topic as solved on