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(kritadbexplorer_SOURCES
DbExplorer.cpp
DlgDbExplorer.cpp
TableModel.cpp
)
ki18n_wrap_ui(kritadbexplorer_SOURCES WdgDbExplorer.ui )
kis_add_library(kritadbexplorer MODULE ${kritadbexplorer_SOURCES})
target_link_libraries(kritadbexplorer
PRIVATE
kritaresources
kritaresourcewidgets
kritaui
Qt${QT_MAJOR_VERSION}::Core
Qt${QT_MAJOR_VERSION}::Widgets
Qt${QT_MAJOR_VERSION}::Sql
)
install(TARGETS kritadbexplorer DESTINATION ${KRITA_PLUGIN_INSTALL_DIR})
install(FILES dbexplorer.xmlgui DESTINATION ${KDE_INSTALL_DATADIR}/kritaplugins)
install(FILES dbexplorer.action DESTINATION ${KDE_INSTALL_DATADIR}/krita/actions)