Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Add-ons
Commits
73e4c01e
Commit
73e4c01e
authored
Mar 11, 2022
by
Alexander Lohnau
💬
Browse files
Use a static library for comicprovider core lib
parent
33a5b6f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
applets/comic/engine/CMakeLists.txt
View file @
73e4c01e
...
...
@@ -44,17 +44,12 @@ set(comic_provider_core_SRCS
${
LOGGING_SRCS
}
)
add_library
(
plasmacomicprovidercore SHARED
${
comic_provider_core_SRCS
}
)
generate_export_header
(
plasmacomicprovidercore EXPORT_FILE_NAME plasma_comic_export.h EXPORT_MACRO_NAME PLASMA_COMIC_EXPORT
)
add_library
(
plasmacomicprovidercore STATIC
${
comic_provider_core_SRCS
}
)
target_link_libraries
(
plasmacomicprovidercore
KF5::WidgetsAddons
KF5::KIOCore
KF5::I18n
)
set_target_properties
(
plasmacomicprovidercore PROPERTIES VERSION 1.0.0 SOVERSION 1
)
install
(
TARGETS plasmacomicprovidercore
${
KDE_INSTALL_TARGETS_DEFAULT_ARGS
}
LIBRARY NAMELINK_SKIP
)
########### kross ###############
...
...
applets/comic/engine/comicprovider.h
View file @
73e4c01e
...
...
@@ -7,7 +7,6 @@
#ifndef COMICPROVIDER_H
#define COMICPROVIDER_H
#include
"plasma_comic_export.h"
#include
<KPluginMetaData>
#include
<QDate>
#include
<QObject>
...
...
@@ -18,7 +17,7 @@ class QUrl;
/**
* This class is an interface for comic providers.
*/
class
PLASMA_COMIC_EXPORT
ComicProvider
:
public
QObject
class
ComicProvider
:
public
QObject
{
Q_OBJECT
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment