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

Discourage use of AUTORCC due to missing qt quick processing step

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 6.0 (Next Major Release)
    • Fix Version/s: None
    • Labels:

      Description

      The target based approach of qt6_add_resources automatically does qt quick / qml file processing.
      This doesn't happen with the old non-target based qt5(6)_add_resources function, as well as AUTORCC.

      We should document this behaviour, and perhaps discourage the use of AUTORCC going forward.

      Resulted from CMake public API discussion at https://codereview.qt-project.org/c/qt/qtbase/+/317353/1/src/corelib/Qt6CoreMacros.cmake#309

      From the same comment, there was also discussion about discouraging usage of qrc files with CMake, and recommend using the target based qt6_add_resource approach.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              kkohne Kai Köhne
              Reporter:
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There is 1 open Gerrit change