I recently got a new PC and tried to load up an old Qt project that I was playing around with a while ago but have not managed to build it properly.. Starting to think upgrading to Qt6.10 would be simpler at this point..
When linking target libraries I get
[cmake] CMake Error at Gui/CMakeLists.txt:151 (target_link_libraries):
[cmake] Error evaluating generator expression:
[cmake]
[cmake] $
[cmake]
[cmake] Target "Qt6::QmlIntegration" not found.
[cmake]
[cmake]
[cmake] CMake Error at Gui/CMakeLists.txt:151 (target_link_libraries):
[cmake] Error evaluating generator expression:
[cmake]
[cmake] $
[cmake]
[cmake] Target "Qt6::QmlIntegration" not found.
[cmake]
[cmake]
[cmake] -- Generating done
[cmake] CMake Generate step failed. Build files cannot be regenerated correctly.
But I think my kits should be fine from what I remember or at least no glowing read light.

For the settings I have
Compiler : msvc2022 that I got with Visual Studio
Qt Version :
Same files as I used on the old PC
CMake : 3.23.2
Could it be an issue since the CMake file has Qt6 required not Qt6.7?
find_package(Qt6 COMPONENTS Core Widgets SerialPort PrintSupport REQUIRED)
Any ideas would be nice since I dont remember doing anything with Qml Integration in the past..