Qt Canvas Painter
Using the Module
C++ API
Using a Qt module's C++ API requires linking against the module library, either directly or through other dependencies. Several build tools have dedicated support for this, including CMake and qmake.
Building with CMake
Use the find_package() command to locate the needed module component in the Qt6 package:
find_package(Qt6 REQUIRED COMPONENTS CanvasPainter)
target_link_libraries(mytarget PRIVATE Qt6::CanvasPainter)
For more details, see the Build with CMake overview.
Class Reference
Examples
Licenses and Attributions
Qt Canvas Painter runtime library is available under commercial licenses from The Qt Company. In addition, it is available under the GNU General Public License, version 3.
See Qt Licensing for further details.
Furthermore, Qt Canvas Painter in 6.11.0 may contain third party modules under following permissive licenses:
zlib License |