Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-34593

moc does not know about compiler's built-in defines

XMLWordPrintable

    • 36d524e6a3b64a8c35805c1b868d6d67ccae765c

      moc does not see define Q_OS_LINUX.

      for example, if header contain:

      public slots:
      #ifdef Q_OS_LINUX
      void sameSlot();
      #endif

      in generated moc_xxx.cpp file is not present definition for slot sameSlot().

      in Qt 4.8.5 , define Q_WS_X11 normally recognized by moc

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

            thiago Thiago Macieira
            uint32 Maxim
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes