qt6: Use AUTORCC instead of qt5_add_resources

As this works with both Qt5 and Qt6
This commit is contained in:
Sergio Martins
2020-12-08 18:11:34 +00:00
parent 85f829f97a
commit 9f604829dd
9 changed files with 13 additions and 13 deletions

View File

@@ -21,7 +21,7 @@ if(NOT TARGET kddockwidgets)
find_package(KDDockWidgets REQUIRED)
endif()
qt5_add_resources(RESOURCES_EXAMPLE_SRC
set(RESOURCES_EXAMPLE_SRC
${CMAKE_CURRENT_SOURCE_DIR}/resources_qtquick_example.qrc
${CMAKE_CURRENT_SOURCE_DIR}/../../dockwidgets/resources_example.qrc)