Hi,
I'm currently working on GCompris port (passing from Gtk to Qt5 qml/js)
and for storing persistent data, i'm using KConfig (from
https://projects.kde.org/projects/frameworks/kconfig/repository).
It works fine on Desktop (tested on linux) and with a slight
modification (I attached a potential patch which fix my problem) it
works also on Android.
I have a problem when compiling KConfig libraries because it appends the
soname at the end of library (meaning libGCompris.so will look for a
libKF5ConfigCore.so.5) and I deploy only libKF5ConfigCore.so (it looks
like Android does not support soname).
About the patch, in the toolchain I specifiy to compile with, ANDROID is
defined. This way, It only creates a libKF5ConfigCore.so.
If it is good for you, is it possible to integrate it on KConfig ?Or if
you have an other way to not have the soname, I take it :)
Regards,
Johnny
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 0b1136b..7e07c63 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -31,10 +31,12 @@ if(WIN32)
target_link_libraries(KF5ConfigCore PRIVATE ${KDEWIN_LIBRARIES})
endif()
+if(NOT ANDROID)
set_target_properties(KF5ConfigCore PROPERTIES VERSION ${KCONFIG_VERSION_STRI
SOVERSION ${KCONFIG_SOVERSION}
EXPORT_NAME ConfigCore
)
+endif(NOT ANDROID)
ecm_generate_headers(KConfigCore_HEADERS
HEADER_NAMES
_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel