Don't set CMAKE_AUTORCC in pro2cmake.py
To tool generates calls to qt6_add_resources instead, and we don't want to promote the usage of CMAKE_AUTORCC. Task-number: QTBUG-87643 Change-Id: I58458416514949a6ffc9b93c7eb6d24bc2ed01ca Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
dc2c590b1a
commit
eced23b6a8
@ -3800,7 +3800,6 @@ def write_example(
|
||||
f"project({binary_name} LANGUAGES CXX)\n\n"
|
||||
"set(CMAKE_INCLUDE_CURRENT_DIR ON)\n\n"
|
||||
"set(CMAKE_AUTOMOC ON)\n"
|
||||
"set(CMAKE_AUTORCC ON)\n"
|
||||
"set(CMAKE_AUTOUIC ON)\n\n"
|
||||
"if(NOT DEFINED INSTALL_EXAMPLESDIR)\n"
|
||||
' set(INSTALL_EXAMPLESDIR "examples")\n'
|
||||
|
Loading…
Reference in New Issue
Block a user