1 2 3 4
#! [0] find_package(Qt6 COMPONENTS QuickControls2 REQUIRED) target_link_libraries(mytarget Qt::QuickControls2) #! [0]