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

When using Q_FUNC_INFO with qDebug() then it will be seen as invalid syntax in Qt Creator

    XMLWordPrintable

Details

    • 7bb2d833f1e4f9429757aad62298f7df95cd8b69

    Description

      When using Q_FUNC_INFO with qDebug() then it will be seen as invalid syntax in Qt Creator in some circumstances. The following:

      void foo()
      {
      qDebug() << Q_FUNC_INFO " it was function description";
      }
      

      will be be seen as invalid. Whereas this:

      void bar()
      {
      qDebug() << "It is function description: " Q_FUNC_INFO;
      }
      

      is fine.

      Attachments

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

        Activity

          People

            kosjar Nikolai Kosjar
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes