mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 11:40:07 +00:00
![Pino Toscano](/assets/img/avatar_default.png)
This requires a generator to have a MyGenerator(QObject *parent, const QVariantList &args) constructor in order to be successfully loaded. The OKULAR_EXPORT_PLUGIN macro was adapted, and the generators to provide it the about data; the protected Generator::setAboutData() is no more needed. Remove the 'lib' prefix from plugins, unneeded now. CCMAIL: okular-devel@kde.org svn path=/trunk/KDE/kdegraphics/okular/; revision=744169
24 lines
710 B
CMake
24 lines
710 B
CMake
include_directories(
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
|
)
|
|
|
|
|
|
########### next target ###############
|
|
|
|
set(okularGenerator_kimgio_PART_SRCS generator_kimgio.cpp )
|
|
|
|
|
|
kde4_add_plugin(okularGenerator_kimgio ${okularGenerator_kimgio_PART_SRCS})
|
|
|
|
target_link_libraries(okularGenerator_kimgio okularcore ${KDE4_KDEUI_LIBS} )
|
|
|
|
install(TARGETS okularGenerator_kimgio DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
|
|
|
########### install files ###############
|
|
|
|
install( FILES libokularGenerator_kimgio.desktop okularKimgio.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
|
install( FILES okularApplication_kimgio.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
|
|
|
|
#install( FILES gui.rc DESTINATION ${DATA_INSTALL_DIR}/okular_kimgio )
|