package management – How to use QtStateMachine on Arch?

I want to use QtStateMachine in one of my projects.

But I fail to find the right package to install it.

There is a package qt6-examples, which provides example code for the QtStateMachine module, but I cannot build them because Project ERROR: Unknown module(s) in QT: statemachine.

Frankly speaking, I cannot believe there is a (GPL3) Qt-Module not available in Pacman, not even as AUR.

Am I overlooking something? How am I supposed to use QtStateMachine? Do I need to compile it myself? Has anyone used QtStateMachine with other package managers?

There is libqt6statemachine6 for Ubuntu, though it doesn’t seem to be a dev package (missing headers, CMake-stuff and -dev suffix).

I forgot to mention that I need the Qt6 package.
qt5-base contains QtStateMachine, but I need Qt6.

Read more here: Source link