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

"implicit conversion turns string literal into bool" warning for Q_PROPERTY

    XMLWordPrintable

Details

    • 1ef0eba378baac7d936e7ba92f6f63c59c264945 (qt-creator/qt-creator/4.15)

    Description

      Qt Creator 4.14.0 (Based on Qt 5.15.2 (GCC 7.3.1 20180303 (Red Hat 7.3.1-5), 64 bit), Built on Dec 17 2020 07:57:09, From revision 909f74dc56) complains about this:

      Also mentioned here:

      https://forum.qt.io/topic/121748/warning-implicit-conversion-turns-string-literal-into-bool-const-char-11-to-bool-qobjectdefs-h-61-42-note-expanded-from-macro-q_property

      Attachments

        1. clang-output.txt
          87 kB
        2. QTBUG-90607.png
          QTBUG-90607.png
          116 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mitch_curtis Mitch Curtis
            mitch_curtis Mitch Curtis
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes