I installed the package “qtcreator” from “Official Repositories (extra)”.
When installing, there was a prompt to choose optional dependencies, among which I selected “qt6 examples”.
These are the two packages shown as installed in Pamac:
Now I’ve opened Qt Creator and clicked on Examples, but there seems to be none:
I don’t know where qtcreator expects to find them — I’ve nerver actually used it, but I have it installed in case I ever get motivated enough to learn more about developing something with qt.
It was probably a packaging decision. They are two separate packages, and we take those over verbatim from Arch without any modifications at our end.
Qt Creator needs qmake which is currently set for qt5, but qt6 requires /usr/lib/qt6/bin/qmake which is accessed via link /usr/bin/qmake6.
Qt Creator can create/debug/compile different projects that target different qt versions, so it’s the user responsibility to understand the difference and set the right configuration inside settings UI.