1 2 3 4 5
The command is defined in the \c Widgets component of the \c Qt6 package. Load the package with: \code find_package(Qt6 REQUIRED COMPONENTS Widgets) \endcode