1
2if (NOT TARGET Qt5::uic)
3    add_executable(Qt5::uic IMPORTED)
4
5!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
6    set(imported_location \"${_qt5Widgets_install_prefix}/$${CMAKE_BIN_DIR}uic$$CMAKE_BIN_SUFFIX\")
7!!ELSE
8    set(imported_location \"$${CMAKE_BIN_DIR}uic$$CMAKE_BIN_SUFFIX\")
9!!ENDIF
10    _qt5_Widgets_check_file_exists(${imported_location})
11
12    set_target_properties(Qt5::uic PROPERTIES
13        IMPORTED_LOCATION ${imported_location}
14    )
15endif()
16
17if (QT5_STRICT_PLUGIN_GLOB OR Qt5$${CMAKE_MODULE_NAME}_STRICT_PLUGIN_GLOB)
18    include(\"${CMAKE_CURRENT_LIST_DIR}/Qt5Widgets_AccessibleFactory.cmake\" OPTIONAL)
19endif()
20set(Qt5Widgets_UIC_EXECUTABLE Qt5::uic)
21
22# Create versionless tool targets.
23foreach(__qt_tool uic)
24    if(NOT \"${QT_NO_CREATE_VERSIONLESS_TARGETS}\" AND NOT TARGET Qt::${__qt_tool}
25       AND TARGET Qt5::${__qt_tool})
26        add_executable(Qt::${__qt_tool} IMPORTED)
27        get_target_property(__qt_imported_location Qt5::${__qt_tool} IMPORTED_LOCATION)
28        set_target_properties(Qt::${__qt_tool}
29                              PROPERTIES IMPORTED_LOCATION \"${__qt_imported_location}\")
30    endif()
31endforeach()
32