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

"you forgot the Q_OBJECT macro" warning when it's there

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • None
    • Qt Creator 1.3.83 (2.0.0-beta)
    • C/C++/Obj-C++ Support
    • None
    • Mac OS X 10.6.3
    • 9240ceaf354580e20c962ce52870faecccc2ad5a

      For the following slots, I get "you forgot the Q_OBJECT macro" warning and the slots and signals are underlined.

      signals:
      void start();
      void reset();
      void pause();
      void changeDirection(Counter::CountDirection);
      void setDuration(QTime);

      and the slots:

      protected slots:
      void sendStartSignal();
      void sendResetSignal();
      void sendPauseSignal();
      void sendChangeDirectionSignal(Counter::CountDirection);
      void sendSetDuration(QTime);

      However, I've declared Q_OBJECT above.

        1. Settings.h
          1.0 kB
          Gezim Hoxha
        2. CreatorTest.zip
          2 kB
          Volker Götz
        3. Include-with-dir.png
          107 kB
          Volker Götz
        4. Include-without-dir.png
          106 kB
          Volker Götz
        5. qtc-framework.patch
          0.7 kB
          Volker Götz
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            con Eike Ziller
            hgezim Gezim Hoxha
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes