Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-1236

Generated qt_standard_project_setup must not set CMAKE_AUTORCC

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 3.3.0
    • 3.3.0
    • CMake
    • None
    • 473fdb41d (dev)

    Description

      The project wizards generate a qt.cmake that contains a qt_standard_project_setup implementation for older Qt versions

      if(QT_VERSION VERSION_LESS 6.3)
          macro(qt_standard_project_setup)
              set(CMAKE_AUTOMOC ON)
              set(CMAKE_AUTORCC ON)
              set(CMAKE_AUTOUIC ON)
          endmacro()
      endif()
      

      This function should not set CMAKE_AUTORCC. We discourage its usage in favor of qt_add_resources.

      Attachments

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

        Activity

          People

            ali.demiralp Ali Can Demiralp
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes