KDE Builder: Qt 6.8

Hi all, I’ve been working to consistently use the kde-builder tools/dependencies when using Qt Creator, because it really makes a huge difference. I’ve hit one snag: when I install the build kits on QtCreator (trying this on kcalc as an example), it wants Qt 6.8, but kde-builder supplies only 6.7. I attempted running $ kde_builder qt6-set again, and it didn’t find anything to update. Am I missing something? Thanks if someone can shine some light on this for me.

Here’s the error when I try to build:

19:44:01: Running steps for project kcalc... 19:44:01: Starting: "/usr/bin/cmake" --build /home/hp/kde/src/kcalc/build/kde-builder-debug --target all -j 4 [0/1 0.0/sec] Re-running CMake... /usr/lib/qt6/bin/qtpaths: /home/hp/kde/qt/lib/libQt6Core.so.6: version `Qt_6.8' not found (required by /usr/lib/qt6/bin/qtpaths) CMake Warning at /usr/share/ECM/modules/ECMQueryQt.cmake:95 (message): Failed call: /usr/lib/qt6/bin/qtpaths --query QT_INSTALL_PREFIX Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs6.cmake:197 (ecm_query_qt) /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include) CMakeLists.txt:16 (include)

From qtcreator you might need to specify the path of your local qt.
But event simpler would be to use the config option generate-qtcreator-project-config 3.2. List of available configuration options — KDE Builder documentation
Which should prevent you to configure anything by hand.

Thanks @meven . I did configure the generate-qt-creator-project-config option, so that’s why I’m confused. If I don’t use the build kit created with the instructions, it builds ok. But I think it uses my local Qt version, and I’d like to try and consistently use the kde-builder Qt version, as it seems to reap many rewards. Any validity to that?

Yes, I can use the system version along with the kde-builder action, thank you @meven.