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

After editing "Initial CMake parameters", I get SOFT ASSERT: "type == "UNINITIALIZED"" in console

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 6.0.0
    • Qt Creator 5.0.3, Qt Creator 6.0.0-rc1
    • None
    • OS: Arch Linux
      cmake version 3.21.4 (from Arch Linux)
      Occurs on both Qt Creator 5.0.3 from ???, and 6.0.0-rc1 from Qt Web Installer.
    • Linux/X11
    • be9f7313b64a152bff2466e2a3c652f4c88bdfa4 (qt-creator/qt-creator/6.0)

    Description

      If you open a CMake C++ project and add extra lines to Project mode -> "Initial CMake parameters" textarea, then I start getting the following warning in the console (but no harmful effects that I've seen):

      SOFT ASSERT: "type == "UNINITIALIZED"" in file /home/qt/work/build/qt-creator/src/plugins/cmakeprojectmanager/cmakeconfigitem.cpp, line 162
      

      Steps:

      • Clone and open https://github.com/KDE/plasma-workspace or https://gitlab.com/exotracker/exotracker-cpp or another CMake project.
      • Added new definitions to Initial CMake Parameters (eg. -Dfoo=bar).
      • The warning is logged to the terminal every time I close and reopen the project, or switch to a different session and back, or restart Qt Creator, or click menu Build -> "Run CMake" (1 or more warnings), or click Project mode -> "Re-configure with Initial Parameters" (more than 1 warning).

      The warning text is identical every time it appears. It doesn't seem to cause any negative effects as far as I can tell.

      Attachments

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

        Activity

          People

            cadam Cristian Adam
            nyanpasu64 Nyan Pasu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes