Sorry, I wrote it from the top of my head so there was a mistake about setting the compilers: 'custom' shall not be set at the ABI section but shall be chosen from the dropdown when choosing Add. If you set the C/C++ compilers that way, the Qt Versions tab won't complain any more as your path is fine there. Don't forget to specify the path to the system make (/usr/bin/make) for the C/C++ compilers. It looks like this for me:
Don't forget to select your custom C/C++ compilers for your native kit and set also debugger:
Unfortunately, I have now other problems 🙂 Though the build starts when I trigger it but it stops with:
ld: warning: libstdc++.so.7, needed by /usr/pkg/qt6/lib/libQt6Quick.so, may conflict with libstdc++.so.9
ld: /usr/pkg/qt6/lib/libQt6Quick.so: undefined reference to std::pmr::monotonic_buffer_resource::~monotonic_buffer_resource()@GLIBCXX_3.4.28'
ld: /usr/pkg/qt6/lib/libQt6Quick.so: undefined reference to
vtable for std::pmr::monotonic_buffer_resource@GLIBCXX_3.4.28'
ld: /usr/pkg/qt6/lib/libQt6Quick.so: undefined reference to std::pmr::get_default_resource()@GLIBCXX_3.4.26'
ld: /usr/pkg/qt6/lib/libQt6Quick.so: undefined reference to
std::pmr::monotonic_buffer_resource::_M_new_buffer(unsigned long, unsigned long)@GLIBCXX_3.4.26'
*** [hi_qml_ui] Error code 1
So I'll have to work on my new setup as well 🙂