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

"go to slot" function code placed inside #ifdef

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Incomplete
    • Affects Version/s: Qt Creator 4.15.1
    • Fix Version/s: None
    • Labels:
      None

      Description

      Huh ?
      void TabWidget_Chat::on_pushButton_9_clicked()
      function placed inside #ifdef
      after "go to slot " was implemented
      TWICE

      void TabWidget_Chat::TestFunction(const QString text)
      {

      qDebug() << Q_FUNC_INFO << " @ line " <<_LINE_;

      #ifdef BYPASS

      // generate test TRACE
      void TabWidget_Chat::on_pushButton_9_clicked()
      {

      }

      what runs this ??
      // qDebug(text);
      ui->label_5->setText("TEST TEXT");
      ui->label_5->setText(text);

      // ui->label_5->setText(&text);
      // ui->label_5->

      // temp uTestFunctionse pl;ain qDebug

      qDebug() << "\nTRACE TASK : "
      << " \nDISABLE_DEBUG \nCONSTRUCTOR \n" <<
      "\nFile : " << (_FILE_) <<
      "\nFunction : " << (_FUNCTION_) <<
      "\n@line : " <<(_LINE_) <<
      "test text : " << &text;

      //<<
      // "\nstep : " << ( step );

      #endif

      };

        Attachments

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

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            anner Anne Ranch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes