This fixes build for the following CMakeLists.txt: cmake_minimum_required(VERSION 3.18) project(hello) find_package(Qt6 COMPONENTS ExampleIconsPrivate)