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
Graphics
Okular
Commits
df0c4121
Commit
df0c4121
authored
Mar 16, 2016
by
Thomas Friedrichsmeier
Browse files
Fix build with MinGW on Windows.
REVIEW: 127328
parent
1335d672
Changes
3
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
df0c4121
...
...
@@ -306,6 +306,7 @@ add_library(okularpart SHARED ${okularpart_SRCS})
generate_export_header
(
okularpart BASE_NAME okularpart
)
target_link_libraries
(
okularpart okularcore Qt5::Svg KF5::Parts
${
MATH_LIB
}
Phonon::phonon4qt5 KF5::Solid KF5::KDELibs4Support KF5::Wallet KF5::Archive
)
set_target_properties
(
okularpart PROPERTIES PREFIX
""
)
if
(
Qt5TextToSpeech_FOUND
)
target_link_libraries
(
okularpart Qt5::TextToSpeech
)
...
...
interfaces/viewerinterface.h
View file @
df0c4121
...
...
@@ -11,7 +11,7 @@
#define _OKULAR_VIEWERINTERFACE_H_
#include
"../core/okularcore_export.h"
#ifdef
_MSC_VER
#ifdef
Q_OS_WIN
#define VIEWERINTERFACE_EXPORT __declspec(dllexport)
#else
#define VIEWERINTERFACE_EXPORT OKULARCORE_EXPORT
...
...
mobile/components/CMakeLists.txt
View file @
df0c4121
...
...
@@ -20,9 +20,8 @@ set(okular_SRCS
kconfig_add_kcfg_files
(
okular_SRCS
${
CMAKE_SOURCE_DIR
}
/conf/settings.kcfgc
)
set_source_files_properties
(
${
CMAKE_CURRENT_BINARY_DIR
}
/settings.cpp PROPERTIES COMPILE_DEFINITIONS
"okularpart_EXPORTS"
)
add_library
(
okularplugin SHARED
${
okular_SRCS
}
)
set_target_properties
(
okularplugin PROPERTIES COMPILE_DEFINITIONS
"okularpart_EXPORTS"
)
target_link_libraries
(
okularplugin
Qt5::Quick
Qt5::Qml
...
...
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