Qt5WidgetsConfigExtras.cmake 422 B

123456789101112131415
  1. if (NOT TARGET Qt5::uic)
  2. add_executable(Qt5::uic IMPORTED)
  3. set(imported_location "${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/uic")
  4. _qt5_Widgets_check_file_exists(${imported_location})
  5. set_target_properties(Qt5::uic PROPERTIES
  6. IMPORTED_LOCATION ${imported_location}
  7. )
  8. endif()
  9. include("${CMAKE_CURRENT_LIST_DIR}/Qt5Widgets_AccessibleFactory.cmake" OPTIONAL)
  10. set(Qt5Widgets_UIC_EXECUTABLE Qt5::uic)