project(qtextracomponents) add_subdirectory(tests) set(qtextracomponents_SRCS qtextracomponentsplugin.cpp qpixmapitem.cpp qimageitem.cpp qiconitem.cpp mouseeventlistener.cpp columnproxymodel.cpp clipboard.cpp ) add_library(qtextracomponentsplugin SHARED ${qtextracomponents_SRCS}) target_link_libraries(qtextracomponentsplugin Qt5::Core Qt5::Quick Qt5::Qml Qt5::Gui KF5::Declarative KF5::IconThemes KF5::Plasma) install(TARGETS qtextracomponentsplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/qtextracomponents) install(FILES qmldir DESTINATION ${QML_INSTALL_DIR}/org/kde/qtextracomponents)