Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-31541

the use of clang for the c/c++ code model was disabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 13.0.0
    • C/C++/Obj-C++ Support
    • Linux/Wayland

    Description

      On starting Creator 13.0.0 under Ubuntu 24.04 get "banner message" reading

      > the use of clang for the c/c++ code model was disabled [because your system does not have enough memory]

      System is 8GB (6GB free), which I believe is enough.  There is an "Enable anyway" button.  I click this and it works fine.

      However, that is not "remembered" by Creator.  Every time I go into it I get the same message and have to do the same click.

      Either it thinks 8/6 GB is not enough (doubtful), or the detection is wrong, or it is supposed to "remember" the user's choice to ignore here for future sessions.

      Exactly the same is reported by a user a month ago at https://stackoverflow.com/questions/78811212/clangd-is-disabled-at-every-launch-by-qt-creator.  That poster states:

      Qt Creator version 13.0.2, same problem both on MacOs and Ubuntu.

      P.S. Apparently, from reading some more qt forum posts, the intended behavior is to disable the check after the user clicks "Enable anyway" for the first time? Possibly this is a bug in my case? (that the message keeps popping up at every launch)

      I am unable to find qt forum posts relating to this.  I am also unable to find a bug report here to this effect, perhaps for Creator 14 to "remember" the user's choice to ignore this forever.

      Could someone either find a bug report for this which I have missed or address it in a future Creator, please?  Thank you.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            jonbrave J Barchan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes