Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
set(pathshapes_SOURCES
ellipse/EllipseShape.cpp
ellipse/EllipseShapeFactory.cpp
ellipse/EllipseShapeConfigWidget.cpp
ellipse/EllipseShapeConfigCommand.cpp
spiral/SpiralShape.cpp
spiral/SpiralShapeFactory.cpp
spiral/SpiralShapeConfigWidget.cpp
spiral/SpiralShapeConfigCommand.cpp
star/StarShape.cpp
star/StarShapeFactory.cpp
star/StarShapeConfigWidget.cpp
star/StarShapeConfigCommand.cpp
rectangle/RectangleShape.cpp
rectangle/RectangleShapeFactory.cpp
rectangle/RectangleShapeConfigWidget.cpp
rectangle/RectangleShapeConfigCommand.cpp
PathShapesPlugin.cpp
)
ki18n_wrap_ui(pathshapes_SOURCES
star/StarShapeConfigWidget.ui
rectangle/RectangleShapeConfigWidget.ui
ellipse/EllipseShapeConfigWidget.ui
spiral/SpiralShapeConfigWidget.ui
)
qt_add_resources(pathshapes_SOURCES pathshapes.qrc)
kis_add_library(krita_shape_paths MODULE ${pathshapes_SOURCES})
target_link_libraries(krita_shape_paths kritaflake kritawidgets kritaui)
install(TARGETS krita_shape_paths DESTINATION ${KRITA_PLUGIN_INSTALL_DIR})