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

CMake status message is interpreted as a warning

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 15.0.0-beta2
    • None
    • Kubuntu 24.04, CMake 3.28.3
    • Linux/X11

    Description

      In my CMake project, at some point during configuration, a message like this is output:

      -- ZeroC ICE 3.7.10 Java API found in: /home/user/path
      

      (The actual path is redacted.)

      This message is generated by the project's CMake script like this:

      message(STATUS "ZeroC ICE ${ICE_ABI_VERSION} Java API found in: ${ICEJ_HOME}")
      

      (The variables in the message are initialized during the configuration process.)

      The problem is that QtCreator interprets this message as a warning or error. It highlights it in red in the console output and then lists an "/home/user/path" entry with location "-- ZeroC ICE 3.7.10 Java API found in" in the Issues tab after the build completes.

      Attachments

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

        Activity

          People

            cadam Cristian Adam
            lastique Andrey Semashev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes