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

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

    XMLWordPrintable

Details

    • 36d524e6a3b64a8c35805c1b868d6d67ccae765c

    Description

      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

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes