Linking issue when building with Clang and Qt6 on Linux

Didn’t check if current code contains it so maybe you tried it already : have you seen this ?

find_package(Qt6 COMPONENTS Core)
if (NOT Qt6_FOUND)
    find_package(Qt5 5.15 REQUIRED COMPONENTS Core)
endif()
)