Qt6 testing using cmake

Greetings everyone! I am using the cmake --build ./build command to build certain tests for this project using google tests but I am getting this error. It is searching for Qt5 but I am using Qt6 (-DQT_VERSION=6) to configure.

Text is better to be shared as text, not as a picture of text.

The error message seems to point out that when the project was configured, it was linked against Qt 5, which is why this target’s config now contains references to Qt 5 targets. Can’t say much else without looking at the project files.