Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator crashes when launching preferences

Qt Creator crashes when launching preferences

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
3 Posts 2 Posters 489 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lanigb
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lanigb
      wrote on last edited by
      #3

      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.

      1 Reply Last reply
      1
      • jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #2

        What QtCreator version is this?
        Try to rename /home/alain/.config/QtProject/qtcreator/.clang-format file.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • L Offline
          L Offline
          lanigb
          wrote on last edited by
          #3

          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.

          1 Reply Last reply
          1
          • L lanigb has marked this topic as solved on

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved