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

Fix moc / rcc execution on macOS

    XMLWordPrintable

Details

    • User Story
    • Resolution: Done
    • P1: Critical
    • 6.0
    • None
    • Build System
    • None

    Description

      Currently when moc is executed by CMake, it does not generate a moc_predefs.h file, which is important for determining the current OS define like Q_OS_MACOS, as well as other defines. This in turn leads to compilation errors because moc generates code that it shouldn't (in the platformsupport plugin for example).

      Relevant work done is here, but there are still some issues:
      https://codereview.qt-project.org/#/c/253155/

      Attachments

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

        Activity

          People

            alexandru.croitor Alexandru Croitor
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes